Merge "Fix crash when launching translucent activities." into ub-launcher3-master
diff --git a/quickstep/src/com/android/launcher3/LauncherAppTransitionManagerImpl.java b/quickstep/src/com/android/launcher3/LauncherAppTransitionManagerImpl.java
index dffe641..73cff29 100644
--- a/quickstep/src/com/android/launcher3/LauncherAppTransitionManagerImpl.java
+++ b/quickstep/src/com/android/launcher3/LauncherAppTransitionManagerImpl.java
@@ -154,8 +154,8 @@
                         mLauncher.getStateManager().setCurrentAnimation(anim);
 
                         if (!composeRecentsLaunchAnimator(v, targetCompats, anim)) {
+                            anim.play(getIconAnimator(v));
                             if (launcherIsATargetWithMode(targetCompats, MODE_CLOSING)) {
-                                anim.play(getIconAnimator(v));
                                 anim.play(getLauncherContentAnimator(false /* show */));
                             }
                             anim.play(getWindowAnimators(v, targetCompats));