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

Commit 1eb8774e authored by d34d's avatar d34d
Browse files

Fingerprint: Call SecurityCallback.dismiss when recognized

In order for lock screen shortcuts to work correctly when the user
uses their fingerprint to unlock the device, we need to call the
SecurityCallback.dismiss() method so that the OnDismissAction is
called once the user is authenticated.

Change-Id: I3c55d1e4249c6c935b0bf350b4e45f556cdc0bcb
REF: CYNGNOS-767
parent 8c849957
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -65,6 +65,11 @@ public class KeyguardSecurityContainer extends FrameLayout implements KeyguardSe
                    mCurrentSecuritySelection = SecurityMode.Invalid;
                    mCurrentSecuritySelection = SecurityMode.Invalid;
                    showPrimarySecurityScreen(false);
                    showPrimarySecurityScreen(false);
                }
                }

                @Override
                public void onFingerprintRecognized(int userId) {
                    mSecurityCallback.dismiss(true);
                }
            };
            };


    // Used to notify the container when something interesting happens.
    // Used to notify the container when something interesting happens.