summaryrefslogtreecommitdiffstats
path: root/quickstep
diff options
context:
space:
mode:
authorJon Miranda <jonmiranda@google.com>2018-07-24 14:50:56 -0700
committerJon Miranda <jonmiranda@google.com>2018-07-24 14:50:56 -0700
commit4a2b9d5e369cc764f4a3093f4ee8b4b2b4ce2f1c (patch)
treeca64da07412ac4d903d8ea0482ac7625057d11dd /quickstep
parent82c114ca9ca212e8257d34860b42f4a021a63213 (diff)
downloadandroid_packages_apps_Trebuchet-4a2b9d5e369cc764f4a3093f4ee8b4b2b4ce2f1c.tar.gz
android_packages_apps_Trebuchet-4a2b9d5e369cc764f4a3093f4ee8b4b2b4ce2f1c.tar.bz2
android_packages_apps_Trebuchet-4a2b9d5e369cc764f4a3093f4ee8b4b2b4ce2f1c.zip
Fix bug where icon appears large until transluscent activity finishes.
It appears large because the pressed state of the view increases the scale, and we want to leave the pressed state until the activity is launched. With the remote app transitions, we now have a callback for when the activity is done launching so we then cancel the "stayPressed" state. Bug: 111742067 Change-Id: I25725e908b12f4dd1256294a26232b289db2d057
Diffstat (limited to 'quickstep')
-rw-r--r--quickstep/src/com/android/launcher3/LauncherAppTransitionManagerImpl.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/quickstep/src/com/android/launcher3/LauncherAppTransitionManagerImpl.java b/quickstep/src/com/android/launcher3/LauncherAppTransitionManagerImpl.java
index 14633afa5..37d0b12bd 100644
--- a/quickstep/src/com/android/launcher3/LauncherAppTransitionManagerImpl.java
+++ b/quickstep/src/com/android/launcher3/LauncherAppTransitionManagerImpl.java
@@ -537,6 +537,9 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
@Override
public void onAnimationEnd(Animator animation) {
// Reset launcher to normal state
+ if (isBubbleTextView) {
+ ((BubbleTextView) v).setStayPressed(false);
+ }
v.setVisibility(View.VISIBLE);
((ViewGroup) mDragLayer.getParent()).removeView(mFloatingView);
}