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

Commit 46fc8079 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "DO NOT MERGE Fix of crash when error messages are triggered"

parents c45b4ab9 d565d867
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ public class FingerprintErrorDialog extends BiometricErrorDialog {
        final CharSequence errMsg = host.getText(getErrorMessage(errMsgId));
        final FingerprintErrorDialog dialog = newInstance(errMsg, errMsgId);
        final FragmentManager fragmentManager = host.getSupportFragmentManager();
        if (!fragmentManager.isDestroyed()) {
        if (!fragmentManager.isDestroyed()  && !fragmentManager.isStateSaved()) {
            dialog.show(fragmentManager, FingerprintErrorDialog.class.getName());
        }
    }