summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java
diff options
context:
space:
mode:
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java
index 6f0f720..6b6ce5b 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java
@@ -88,7 +88,13 @@ public class KeyguardBouncer {
if (mRoot.getVisibility() == View.VISIBLE || mShowingSoon) {
return;
}
- mPhoneStatusBar.mKeyguardBottomArea.setVisibility(View.GONE);
+ mPhoneStatusBar.getScrimController().forceHideScrims(false);
+ // Don't hide bottom area if we are in the middle of a affordance
+ // launch transition, since once the animation is finished, NPV
+ // will take care of setting it invisible.
+ if (!mPhoneStatusBar.mNotificationPanel.isLaunchTransitionRunning()) {
+ mPhoneStatusBar.mKeyguardBottomArea.setVisibility(View.GONE);
+ }
// Try to dismiss the Keyguard. If no security pattern is set, this will dismiss the whole
// Keyguard. If we need to authenticate, show the bouncer.
if (!mKeyguardView.dismiss()) {