summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/keyguard
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2014-08-13 17:58:58 +0200
committerJorim Jaggi <jjaggi@google.com>2014-08-14 12:29:25 +0000
commit84a3e7aacf6dbeccf4afb36a29f2f069dca7d486 (patch)
tree8d8cf1f070ab8972e41c7412cc9cc64fa83d2959 /packages/SystemUI/src/com/android/systemui/keyguard
parentb734e9d2b8808c541acd2be91455e48e5bcf653d (diff)
downloadframeworks_base-84a3e7aacf6dbeccf4afb36a29f2f069dca7d486.zip
frameworks_base-84a3e7aacf6dbeccf4afb36a29f2f069dca7d486.tar.gz
frameworks_base-84a3e7aacf6dbeccf4afb36a29f2f069dca7d486.tar.bz2
Use different unlock animation when going to full shade
Also fixes a bug that the notify flag was not reset, and fix the transition for the phone/camera affordance (in these cases, no animation is needed). Bug: 15991916 Change-Id: Idbb4fa40f86bda597cd66cc38da838ef4f75514d
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/keyguard')
-rw-r--r--packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
index e4b395f..be11220 100644
--- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
+++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
@@ -1219,7 +1219,9 @@ public class KeyguardViewMediator extends SystemUI {
// Don't actually hide the Keyguard at the moment, wait for window
// manager until it tells us it's safe to do so with
// startKeyguardExitAnimation.
- mWM.keyguardGoingAway();
+ mWM.keyguardGoingAway(
+ mStatusBarKeyguardViewManager.shouldDisableWindowAnimationsForUnlock(),
+ mStatusBarKeyguardViewManager.isGoingToNotificationShade());
} catch (RemoteException e) {
Log.e(TAG, "Error while calling WindowManager", e);
}