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

Commit d21a350b authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Make 'Power button instantly locks' toggle work (1/2 framework)" into ics

parents d749f5b2 d23319d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -363,7 +363,7 @@ public class KeyguardViewMediator implements KeyguardViewCallback,
            if (mLockPatternUtils.isSecure()) {
                // Lock immediately based on setting if secure (user has a pin/pattern/password)
                // This is retained as-is to ensue AOSP security integrity is maintained
                lockImmediately = true;
                lockImmediately = mLockPatternUtils.getPowerButtonInstantlyLocks();
            } else {
                // Unless a separate slide lock timeout is enabled, this "locks" the device when
                // not secure to provide easy access to the camera while preventing unwanted input