summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2014-05-31 01:09:18 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-31 01:09:19 +0000
commitd48d7a6d506a72cc519e05fc4c124087b0db221b (patch)
tree1991e38e0d11b8d274fd16b4577df8e876993595 /services
parent54b5e5bdf621449a1806ff2971b95df273069c44 (diff)
parente29b2dbc762bfa66093d76f5a65f55328d8753c9 (diff)
downloadframeworks_base-d48d7a6d506a72cc519e05fc4c124087b0db221b.zip
frameworks_base-d48d7a6d506a72cc519e05fc4c124087b0db221b.tar.gz
frameworks_base-d48d7a6d506a72cc519e05fc4c124087b0db221b.tar.bz2
Merge "Fade scrim in unlock animation." into lmp-preview-dev
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/wm/WindowAnimator.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/wm/WindowAnimator.java b/services/core/java/com/android/server/wm/WindowAnimator.java
index 6fdd535..008d2fc 100644
--- a/services/core/java/com/android/server/wm/WindowAnimator.java
+++ b/services/core/java/com/android/server/wm/WindowAnimator.java
@@ -284,7 +284,7 @@ public class WindowAnimator {
} else if (mKeyguardGoingAway && !nowAnimating) {
// Timeout!!
Slog.e(TAG, "Timeout waiting for animation to startup");
- mPolicy.startKeyguardExitAnimation(0);
+ mPolicy.startKeyguardExitAnimation(0, 0);
mKeyguardGoingAway = false;
}
if (win.isReadyForDisplay()) {
@@ -392,7 +392,9 @@ public class WindowAnimator {
winAnimator.mAnimationIsEntrance = true;
if (startKeyguardExit) {
// Do one time only.
- mPolicy.startKeyguardExitAnimation(a.getStartOffset());
+ mPolicy.startKeyguardExitAnimation(mCurrentTime + a.getStartOffset(),
+ a.getDuration());
+ mKeyguardGoingAway = false;
startKeyguardExit = false;
}
}