Merge changes I0b96f623,I019084a1 into ub-launcher3-qt-dev
* changes: Fix double swipe on nav bar from an app Fix state/anim clobbering when touching down during recents animation
This commit is contained in:
+1
-1
@@ -619,7 +619,7 @@ public class TouchInteractionService extends Service implements
|
||||
return InputConsumer.NO_OP;
|
||||
}
|
||||
|
||||
if (activity.getRootView().hasWindowFocus()) {
|
||||
if (activity.getRootView().hasWindowFocus() || mSwipeSharedState.goingToLauncher) {
|
||||
return new OverviewInputConsumer(activity, mInputMonitorCompat,
|
||||
false /* startingInActivityBounds */);
|
||||
} else {
|
||||
|
||||
+2
-3
@@ -868,9 +868,7 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity>
|
||||
@UiThread
|
||||
private InputConsumer createNewInputProxyHandler() {
|
||||
endRunningWindowAnim();
|
||||
if (mLauncherTransitionController != null) {
|
||||
mLauncherTransitionController.getAnimationPlayer().end();
|
||||
}
|
||||
endLauncherTransitionController();
|
||||
if (!ENABLE_QUICKSTEP_LIVE_TILE.get()) {
|
||||
// Hide the task view, if not already hidden
|
||||
setTargetAlphaProvider(WindowTransformSwipeHandler::getHiddenTargetAlpha);
|
||||
@@ -1312,6 +1310,7 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity>
|
||||
}
|
||||
|
||||
private void endLauncherTransitionController() {
|
||||
setShelfState(ShelfAnimState.CANCEL, LINEAR, 0);
|
||||
if (mLauncherTransitionController != null) {
|
||||
mLauncherTransitionController.getAnimationPlayer().end();
|
||||
mLauncherTransitionController = null;
|
||||
|
||||
Reference in New Issue
Block a user