summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Filip Gruszczynski <gruszczy@google.com> 2015-07-31 12:20:40 -0700
committer Filip Gruszczynski <gruszczy@google.com> 2015-07-31 19:38:22 +0000
commit9e2cf5be18b4a127a7e700c6bbc11d8c1d72f551 (patch)
tree2f8ca20c16b3a1e3d31b6c2a405803f121bb0d8b
parent92e0c86fa2b84619ebc3acb6d91434dd17113c61 (diff)
Make enter reveal animation be zorder top.
This fixes the bug where launcher icons become temporarily visible when home button is pressed while other activity is starting. By having the starting activity's animation be zoder top, it will continue to be drawn on top of the launcher until it animates away. Bug: 22809202 Change-Id: If5e3c09b7a5df4537c355f94e986766f77ad4943
-rw-r--r--services/core/java/com/android/server/wm/AppTransition.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/wm/AppTransition.java b/services/core/java/com/android/server/wm/AppTransition.java
index a57463c21f48..7bd0635a814a 100644
--- a/services/core/java/com/android/server/wm/AppTransition.java
+++ b/services/core/java/com/android/server/wm/AppTransition.java
@@ -559,6 +559,7 @@ public class AppTransition implements Dump {
set.addAnimation(clipAnimTB);
set.addAnimation(translateY);
set.addAnimation(alpha);
+ set.setZAdjustment(Animation.ZORDER_TOP);
set.initialize(appWidth, appHeight, appWidth, appHeight);
anim = set;
} else {