Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -194,6 +194,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb private boolean mLastGesturalNav; private boolean mLastGesturalNav; private boolean mLastIsDocked; private boolean mLastIsDocked; private boolean mLastPulsing; private boolean mLastPulsing; private boolean mLastAnimatedToSleep; private int mLastBiometricMode; private int mLastBiometricMode; private boolean mQsExpanded; private boolean mQsExpanded; private boolean mAnimatedToSleep; private boolean mAnimatedToSleep; Loading Loading @@ -992,6 +993,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb mLastBiometricMode = mBiometricUnlockController.getMode(); mLastBiometricMode = mBiometricUnlockController.getMode(); mLastGesturalNav = mGesturalNav; mLastGesturalNav = mGesturalNav; mLastIsDocked = mIsDocked; mLastIsDocked = mIsDocked; mLastAnimatedToSleep = mAnimatedToSleep; mStatusBar.onKeyguardViewManagerStatesUpdated(); mStatusBar.onKeyguardViewManagerStatesUpdated(); } } Loading Loading @@ -1035,7 +1037,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb boolean hideWhileDozing = mLastDozing && mLastBiometricMode != MODE_WAKE_AND_UNLOCK_PULSING; boolean hideWhileDozing = mLastDozing && mLastBiometricMode != MODE_WAKE_AND_UNLOCK_PULSING; boolean keyguardWithGestureNav = (keyguardShowing && !mLastDozing boolean keyguardWithGestureNav = (keyguardShowing && !mLastDozing || mLastPulsing && !mLastIsDocked) && mLastGesturalNav; || mLastPulsing && !mLastIsDocked) && mLastGesturalNav; return (!keyguardShowing && !hideWhileDozing || mLastBouncerShowing return (!mLastAnimatedToSleep && !keyguardShowing && !hideWhileDozing || mLastBouncerShowing || mLastRemoteInputActive || keyguardWithGestureNav || mLastRemoteInputActive || keyguardWithGestureNav || mLastGlobalActionsVisible); || mLastGlobalActionsVisible); } } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -194,6 +194,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb private boolean mLastGesturalNav; private boolean mLastGesturalNav; private boolean mLastIsDocked; private boolean mLastIsDocked; private boolean mLastPulsing; private boolean mLastPulsing; private boolean mLastAnimatedToSleep; private int mLastBiometricMode; private int mLastBiometricMode; private boolean mQsExpanded; private boolean mQsExpanded; private boolean mAnimatedToSleep; private boolean mAnimatedToSleep; Loading Loading @@ -992,6 +993,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb mLastBiometricMode = mBiometricUnlockController.getMode(); mLastBiometricMode = mBiometricUnlockController.getMode(); mLastGesturalNav = mGesturalNav; mLastGesturalNav = mGesturalNav; mLastIsDocked = mIsDocked; mLastIsDocked = mIsDocked; mLastAnimatedToSleep = mAnimatedToSleep; mStatusBar.onKeyguardViewManagerStatesUpdated(); mStatusBar.onKeyguardViewManagerStatesUpdated(); } } Loading Loading @@ -1035,7 +1037,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb boolean hideWhileDozing = mLastDozing && mLastBiometricMode != MODE_WAKE_AND_UNLOCK_PULSING; boolean hideWhileDozing = mLastDozing && mLastBiometricMode != MODE_WAKE_AND_UNLOCK_PULSING; boolean keyguardWithGestureNav = (keyguardShowing && !mLastDozing boolean keyguardWithGestureNav = (keyguardShowing && !mLastDozing || mLastPulsing && !mLastIsDocked) && mLastGesturalNav; || mLastPulsing && !mLastIsDocked) && mLastGesturalNav; return (!keyguardShowing && !hideWhileDozing || mLastBouncerShowing return (!mLastAnimatedToSleep && !keyguardShowing && !hideWhileDozing || mLastBouncerShowing || mLastRemoteInputActive || keyguardWithGestureNav || mLastRemoteInputActive || keyguardWithGestureNav || mLastGlobalActionsVisible); || mLastGlobalActionsVisible); } } Loading