Loading packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +8 −6 Original line number Diff line number Diff line Loading @@ -975,12 +975,6 @@ public class KeyguardViewMediator extends SystemUI implements Dumpable, mPowerGestureIntercepted = false; mGoingToSleep = true; // Reset keyguard going away state so we can start listening for fingerprint. We // explicitly DO NOT want to call // mKeyguardViewControllerLazy.get().setKeyguardGoingAwayState(false) // here, since that will mess with the device lock state. mUpdateMonitor.dispatchKeyguardGoingAway(false); // Lock immediately based on setting if secure (user has a pin/pattern/password). // This also "locks" the device when not secure to provide easy access to the // camera while preventing unwanted input. Loading Loading @@ -1018,7 +1012,15 @@ public class KeyguardViewMediator extends SystemUI implements Dumpable, playSounds(true); } } mUpdateMonitor.dispatchStartedGoingToSleep(offReason); // Reset keyguard going away state so we can start listening for fingerprint. We // explicitly DO NOT want to call // mKeyguardViewControllerLazy.get().setKeyguardGoingAwayState(false) // here, since that will mess with the device lock state. mUpdateMonitor.dispatchKeyguardGoingAway(false); notifyStartedGoingToSleep(); } Loading Loading
packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +8 −6 Original line number Diff line number Diff line Loading @@ -975,12 +975,6 @@ public class KeyguardViewMediator extends SystemUI implements Dumpable, mPowerGestureIntercepted = false; mGoingToSleep = true; // Reset keyguard going away state so we can start listening for fingerprint. We // explicitly DO NOT want to call // mKeyguardViewControllerLazy.get().setKeyguardGoingAwayState(false) // here, since that will mess with the device lock state. mUpdateMonitor.dispatchKeyguardGoingAway(false); // Lock immediately based on setting if secure (user has a pin/pattern/password). // This also "locks" the device when not secure to provide easy access to the // camera while preventing unwanted input. Loading Loading @@ -1018,7 +1012,15 @@ public class KeyguardViewMediator extends SystemUI implements Dumpable, playSounds(true); } } mUpdateMonitor.dispatchStartedGoingToSleep(offReason); // Reset keyguard going away state so we can start listening for fingerprint. We // explicitly DO NOT want to call // mKeyguardViewControllerLazy.get().setKeyguardGoingAwayState(false) // here, since that will mess with the device lock state. mUpdateMonitor.dispatchKeyguardGoingAway(false); notifyStartedGoingToSleep(); } Loading