Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96beb83b authored by Andreas Agvard's avatar Andreas Agvard
Browse files

Prevent long press nav handle invocation when quick switching between apps.

Bug: 296616400
Test: Manual
Change-Id: Ic393014e0eb834e60414d6ce9fcdf3d91cb1667a
parent d34fe6d6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -914,7 +914,8 @@ public class TouchInteractionService extends Service {
                    base = new TaskbarUnstashInputConsumer(this, base, mInputMonitorCompat, tac,
                            mOverviewCommandHelper);
                }
            } else if (canStartSystemGesture && FeatureFlags.ENABLE_LONG_PRESS_NAV_HANDLE.get()) {
            } else if (canStartSystemGesture && FeatureFlags.ENABLE_LONG_PRESS_NAV_HANDLE.get()
                    && !previousGestureState.isRecentsAnimationRunning()) {
                base = new NavHandleLongPressInputConsumer(this, base, mInputMonitorCompat);
            }