Crashlytics #5

This commit is contained in:
Moez Bhatti
2016-01-07 18:11:53 -05:00
parent a920a9df08
commit 28631384fe
@@ -458,7 +458,11 @@ public class QKDialog extends DialogFragment {
}
public void show() {
super.show(mContext.getFragmentManager(), null);
try {
super.show(mContext.getFragmentManager(), null);
} catch (IllegalStateException ignored) {
// Sometimes the context is destroyed, but the check for that is API 17+
}
}
@Deprecated