summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2016-01-07 14:06:36 -0800
committerClark Scheff <clark@cyngn.com>2016-01-12 15:02:07 -0800
commit2f47c9892f328198b42c6b93427b01b5c180cd1d (patch)
treefb8e3c42ec1cf908b382899bf86c56dd39a23293
parent9f84cac5057433b38c0950244a453305a0a0a6ac (diff)
downloadframeworks_base-2f47c9892f328198b42c6b93427b01b5c180cd1d.zip
frameworks_base-2f47c9892f328198b42c6b93427b01b5c180cd1d.tar.gz
frameworks_base-2f47c9892f328198b42c6b93427b01b5c180cd1d.tar.bz2
SysUI: Disable window animation when using KeyguardExternalView
This prevents the window containing the external view from animating when the keyguard is dismissed. Change-Id: I9aa1f6a034786a598f7957cd9baff6237db06532 TICKET: COG-133
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java
index 77d4959..2347a33 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java
@@ -524,7 +524,8 @@ public class StatusBarKeyguardViewManager {
}
public boolean shouldDisableWindowAnimationsForUnlock() {
- return mPhoneStatusBar.isInLaunchTransition();
+ return mPhoneStatusBar.isInLaunchTransition() ||
+ mPhoneStatusBar.mNotificationPanel.hasExternalKeyguardView();
}
public boolean isGoingToNotificationShade() {