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

Commit 27d76501 authored by Andy Mast's avatar Andy Mast
Browse files

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

See also:
frameworks/base
packages/apps/Settings

Change-Id: I03db3130ffca3a530652d156df8008bd1cfd874c
parent b527bb7c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -668,7 +668,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();