summaryrefslogtreecommitdiffstats
path: root/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java
diff options
context:
space:
mode:
authorJon Miranda <jonmiranda@google.com>2019-11-20 12:31:15 -0800
committerJonathan Miranda <jonmiranda@google.com>2019-11-21 22:16:36 +0000
commita3ea27de3941f2802361aff1d46547122f096c7d (patch)
tree3cfa5ca3ee0c0f6619559960fddb7ecb4f9bed55 /quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java
parentf3761296a1a94086a3f7bc37cc6d3cada73d5d87 (diff)
downloadpackages_apps_Trebuchet-a3ea27de3941f2802361aff1d46547122f096c7d.tar.gz
packages_apps_Trebuchet-a3ea27de3941f2802361aff1d46547122f096c7d.tar.bz2
packages_apps_Trebuchet-a3ea27de3941f2802361aff1d46547122f096c7d.zip
Fix bug where icon remains invisible after returning home.
- The bug is caused by cancelling of the RectFSpringAnim before the StaggeredWorkspaceAnim has started. - Instead of having logic in StaggeredWorkspaceAnim control the visibility of the icon, we instead maintain all the visibility within the FloatingIconView class itself. Bug: 142120338 Change-Id: I94f3a066d395f9c3b97dc6ee9fc836e9401650a5 Merged-In: I082291ca9b288f57701cc00d61a9b3a84da8b084
Diffstat (limited to 'quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java')
-rw-r--r--quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java b/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java
index 7ffffeda1..86aa43044 100644
--- a/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java
+++ b/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java
@@ -398,8 +398,8 @@ public class NoButtonQuickSwitchTouchController implements TouchController,
updateNonOverviewAnim(targetState, new AnimatorSetBuilder(), 0 /* animComponents */);
nonOverviewAnim = mNonOverviewAnim.getAnimationPlayer();
- new StaggeredWorkspaceAnim(mLauncher, null, velocity.y,
- false /* animateOverviewScrim */).start();
+ new StaggeredWorkspaceAnim(mLauncher, velocity.y, false /* animateOverviewScrim */)
+ .start();
} else {
boolean canceled = targetState == NORMAL;
if (canceled) {