platform_packages_apps_Laun.../go
Tony Wickham a04e746e84 Fix getting stuck in BackgroundAppState for 2-button mode
When ending in recents, we reapply the state - therefore, it's important
to make sure we are in OverviewState before onSwipeUpComplete(). This is
done by mLauncherTransitionController, which sets OverviewState on end.
We already force mLauncherTransitionController to end before calling
onSwipeUpComplete(), but in this case we were calling cancel() and
setting mLauncherTransitionController = null, which meant we could never
call end() on it. Instead, we should always call end() if we set it to
null.

Also ensure mLauncherTransitionController is created even if the gesture
is completed, if an existing controller isn't already running. This can
happen if you swipe up quickly enough that we get onGestureEnd before
launcher is drawn, and in that case we still want the launcher component
to animate once its ready. This is even more important for 2-button
mode, because again, we rely on mLauncherTransitionController to set the
state to OverviewState before we reapply it.

Finally, clarified some methods by renaming "swipeUp" to
"swipeUpToRecents".

Bug: 132757019
Change-Id: Ieb24a4f36a39780e5d64d7bc312791608db474d1
2019-05-31 16:11:40 -07:00
..
quickstep Fix getting stuck in BackgroundAppState for 2-button mode 2019-05-31 16:11:40 -07:00
res Rename launcher:iconSize attribute to prevent overriding material 2019-04-24 16:22:51 +00:00
src/com/android/launcher3 Removing ShortcutInfoCompat and directly using ShortcutInfo 2019-04-22 15:39:40 -07:00
AndroidManifest.xml Changing min sdk to 25 2019-01-29 11:29:52 -08:00