Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a7d0744 authored by Jason Monk's avatar Jason Monk
Browse files

Fix crash from dismissing after pause

Change-Id: Ic9f655bff5aec5678d975389bc1f391b8d608099
Fixes: 29977187
parent 8738e406
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -519,7 +519,7 @@ public abstract class SettingsPreferenceFragment extends InstrumentedPreferenceF
        // To be able to dismiss dialog at that time, don't check
        // mDialogFragment.isVisible().
        if (mDialogFragment != null && mDialogFragment.getDialogId() == dialogId) {
            mDialogFragment.dismiss();
            mDialogFragment.dismissAllowingStateLoss();
        }
        mDialogFragment = null;
    }