Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -3706,7 +3706,7 @@ public class StatusBar extends SystemUI implements DemoMode, private void showBouncerIfKeyguard() { private void showBouncerIfKeyguard() { if ((mState == StatusBarState.KEYGUARD || mState == StatusBarState.SHADE_LOCKED) if ((mState == StatusBarState.KEYGUARD || mState == StatusBarState.SHADE_LOCKED) && !mKeyguardViewMediator.isHiding()) { && !mKeyguardViewMediator.isHiding()) { mStatusBarKeyguardViewManager.showBouncer(true /* scrimmed */); mStatusBarKeyguardViewManager.showGenericBouncer(true /* scrimmed */); } } } } Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java +21 −1 Original line number Original line Diff line number Diff line Loading @@ -365,6 +365,26 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb return false; return false; } } /** * If applicable, shows the alternate authentication bouncer. Else, shows the input * (pin/password/pattern) bouncer. * @param scrimmed true when the input bouncer should show scrimmed, false when the user will be * dragging it and translation should be deferred {@see KeyguardBouncer#show(boolean, boolean)} */ public void showGenericBouncer(boolean scrimmed) { if (mAlternateAuthInterceptor != null) { if (mAlternateAuthInterceptor.showAlternateAuthBouncer()) { mStatusBar.updateScrimController(); } return; } showBouncer(scrimmed); } /** * Hides the input bouncer (pin/password/pattern). */ @VisibleForTesting @VisibleForTesting void hideBouncer(boolean destroyView) { void hideBouncer(boolean destroyView) { if (mBouncer == null) { if (mBouncer == null) { Loading @@ -380,7 +400,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb } } /** /** * Shows the keyguard bouncer - the password challenge on the lock screen * Shows the keyguard input bouncer - the password challenge on the lock screen * * * @param scrimmed true when the bouncer should show scrimmed, false when the user will be * @param scrimmed true when the bouncer should show scrimmed, false when the user will be * dragging it and translation should be deferred {@see KeyguardBouncer#show(boolean, boolean)} * dragging it and translation should be deferred {@see KeyguardBouncer#show(boolean, boolean)} Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -3706,7 +3706,7 @@ public class StatusBar extends SystemUI implements DemoMode, private void showBouncerIfKeyguard() { private void showBouncerIfKeyguard() { if ((mState == StatusBarState.KEYGUARD || mState == StatusBarState.SHADE_LOCKED) if ((mState == StatusBarState.KEYGUARD || mState == StatusBarState.SHADE_LOCKED) && !mKeyguardViewMediator.isHiding()) { && !mKeyguardViewMediator.isHiding()) { mStatusBarKeyguardViewManager.showBouncer(true /* scrimmed */); mStatusBarKeyguardViewManager.showGenericBouncer(true /* scrimmed */); } } } } Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java +21 −1 Original line number Original line Diff line number Diff line Loading @@ -365,6 +365,26 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb return false; return false; } } /** * If applicable, shows the alternate authentication bouncer. Else, shows the input * (pin/password/pattern) bouncer. * @param scrimmed true when the input bouncer should show scrimmed, false when the user will be * dragging it and translation should be deferred {@see KeyguardBouncer#show(boolean, boolean)} */ public void showGenericBouncer(boolean scrimmed) { if (mAlternateAuthInterceptor != null) { if (mAlternateAuthInterceptor.showAlternateAuthBouncer()) { mStatusBar.updateScrimController(); } return; } showBouncer(scrimmed); } /** * Hides the input bouncer (pin/password/pattern). */ @VisibleForTesting @VisibleForTesting void hideBouncer(boolean destroyView) { void hideBouncer(boolean destroyView) { if (mBouncer == null) { if (mBouncer == null) { Loading @@ -380,7 +400,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb } } /** /** * Shows the keyguard bouncer - the password challenge on the lock screen * Shows the keyguard input bouncer - the password challenge on the lock screen * * * @param scrimmed true when the bouncer should show scrimmed, false when the user will be * @param scrimmed true when the bouncer should show scrimmed, false when the user will be * dragging it and translation should be deferred {@see KeyguardBouncer#show(boolean, boolean)} * dragging it and translation should be deferred {@see KeyguardBouncer#show(boolean, boolean)} Loading