From b1ad3b19799d9d0cf27f155198ba8de203d13ba2 Mon Sep 17 00:00:00 2001 From: MrSluffy Date: Sat, 6 Apr 2024 08:21:50 +0800 Subject: [PATCH] Revert "Fixed - going to home when tapping nav pill multiple times" This reverts commit 6146a4a6f84bc0cae6c65603c656d2e54264fe3a. --- .../quickstep/inputconsumers/OtherActivityInputConsumer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quickstep/src/com/android/quickstep/inputconsumers/OtherActivityInputConsumer.java b/quickstep/src/com/android/quickstep/inputconsumers/OtherActivityInputConsumer.java index 04c420e398..7e6116720b 100644 --- a/quickstep/src/com/android/quickstep/inputconsumers/OtherActivityInputConsumer.java +++ b/quickstep/src/com/android/quickstep/inputconsumers/OtherActivityInputConsumer.java @@ -439,8 +439,7 @@ public class OtherActivityInputConsumer extends ContextWrapper implements InputC // starting the gesture. In that case, we need to clean-up an unfinished or un-started // animation. if (mActiveCallbacks != null && mInteractionHandler != null) { - if (mTaskAnimationManager.isRecentsAnimationRunning() - && !allowInterceptByParent()) { + if (mTaskAnimationManager.isRecentsAnimationRunning()) { // The animation started, but with no movement, in this case, there will be no // animateToProgress so we have to manually finish here. In the case of // ACTION_CANCEL, someone else may be doing something so finish synchronously.