summaryrefslogtreecommitdiffstats
path: root/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-04-23 11:30:36 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-04-23 12:09:22 -0700
commit0bbacc705cc7c11608549b5408e05a3c1726d074 (patch)
tree7d296f41f6b169ea172441a9bf6b4de5bbd1b3fc /quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java
parent8b5c7d93159cbe387f289801aefbd356ba6dbf9f (diff)
downloadandroid_packages_apps_Trebuchet-0bbacc705cc7c11608549b5408e05a3c1726d074.tar.gz
android_packages_apps_Trebuchet-0bbacc705cc7c11608549b5408e05a3c1726d074.tar.bz2
android_packages_apps_Trebuchet-0bbacc705cc7c11608549b5408e05a3c1726d074.zip
Moving some swipe up complete logic to when the handler is completed.
Bug: 76449024 Change-Id: I136e665495ab7164c79e1dfa0ef61090ba50fc7a
Diffstat (limited to 'quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java')
-rw-r--r--quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java
index 248aa4181..7b09b8ffe 100644
--- a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java
+++ b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java
@@ -694,9 +694,6 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
// If we haven't posted the transition end runnable, run it now
finishTransitionRunnable.run();
}
- RecentsModel.getInstance(mContext).onOverviewShown(false, TAG);
- mActivityControlHelper.onOverviewShown(mActivity);
- doLogGesture(true /* toLauncher */);
}
private void setupLauncherUiAfterSwipeUpAnimation() {
@@ -708,9 +705,11 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
// Animate the first icon.
mRecentsView.setFirstTaskIconScaledDown(false /* isScaledDown */, true /* animate */);
-
mRecentsView.setSwipeDownShouldLaunchApp(true);
+ RecentsModel.getInstance(mContext).onOverviewShown(false, TAG);
+
+ doLogGesture(true /* toLauncher */);
reset();
}