diff options
author | Tony Wickham <twickham@google.com> | 2017-12-06 14:08:54 -0800 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2017-12-13 09:40:36 -0800 |
commit | b744a6778556598c96c0566b55d5b61514161481 (patch) | |
tree | 3f2f7567ef193e1b62ff72e7400fa277cf49c77d /quickstep/src/com/android/launcher3/uioverrides/TwoStepSwipeController.java | |
parent | a74e60cb46502385935d9868ab548e028b17fc58 (diff) | |
download | android_packages_apps_Trebuchet-b744a6778556598c96c0566b55d5b61514161481.tar.gz android_packages_apps_Trebuchet-b744a6778556598c96c0566b55d5b61514161481.tar.bz2 android_packages_apps_Trebuchet-b744a6778556598c96c0566b55d5b61514161481.zip |
Swipe from nav bar to enter overview in landscape
Previously there was hard coded logic for portrait mode, such as
always assuming Y velocity and the upward swipe direction.
Bug: 70179916
Change-Id: Id08ae849632d766b01d67da1c6c67d4e24c697d7
Diffstat (limited to 'quickstep/src/com/android/launcher3/uioverrides/TwoStepSwipeController.java')
-rw-r--r-- | quickstep/src/com/android/launcher3/uioverrides/TwoStepSwipeController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quickstep/src/com/android/launcher3/uioverrides/TwoStepSwipeController.java b/quickstep/src/com/android/launcher3/uioverrides/TwoStepSwipeController.java index 20cda1cec..435d57e7e 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/TwoStepSwipeController.java +++ b/quickstep/src/com/android/launcher3/uioverrides/TwoStepSwipeController.java @@ -367,7 +367,7 @@ public class TwoStepSwipeController extends AnimatorListenerAdapter mCurrentAnimation.setEndAction(() -> { // TODO: Add logging clearState(); - mLauncher.getStateManager().goToState(OVERVIEW, false /* animated */); + mLauncher.getStateManager().goToState(OVERVIEW, true /* animated */); }); if (mTwoStateAnimationController != null) { |