From 9e2cf5be18b4a127a7e700c6bbc11d8c1d72f551 Mon Sep 17 00:00:00 2001 From: Filip Gruszczynski Date: Fri, 31 Jul 2015 12:20:40 -0700 Subject: 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 --- services/core/java/com/android/server/wm/AppTransition.java | 1 + 1 file changed, 1 insertion(+) 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 { -- cgit v1.2.3-59-g8ed1b