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

Commit 51d76f93 authored by Andy Mast's avatar Andy Mast Committed by Gerrit Code Review
Browse files

Keyguard Fingerprint: Lock immediately when fp is used [1/2]

See also:
frameworks/base
packages/apps/Settings

Change-Id: I03db3130ffca3a530652d156df8008bd1cfd874c
parent 71fe5db2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -671,7 +671,8 @@ public class KeyguardViewMediator extends SystemUI {
            // This also "locks" the device when not secure to provide easy access to the
            // camera while preventing unwanted input.
            final boolean lockImmediately =
                mLockPatternUtils.getPowerButtonInstantlyLocks() || !mLockPatternUtils.isSecure();
                mLockPatternUtils.getPowerButtonInstantlyLocks() || !mLockPatternUtils.isSecure()
                    || mLockPatternUtils.usingFingerprint();

            notifyScreenOffLocked();