forked from upstream-mirrors/quik
Crashlytics #5
This commit is contained in:
@@ -458,7 +458,11 @@ public class QKDialog extends DialogFragment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void show() {
|
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
|
@Deprecated
|
||||||
|
|||||||
Reference in New Issue
Block a user