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

Commit 60d56f24 authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Guard TrackpadStatusBarInputConsumer with canStartSystemGesture

Fixes: 286429011
Test: Watch a youtube video in fullscreen. Can't pull down the notification shade without having the status bar visible
Change-Id: I1026cabcaa0a1bb5c8183df0dc9e3a15bcd191cb
parent 42076f46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -936,7 +936,7 @@ public class TouchInteractionService extends Service
            }

            if (ENABLE_TRACKPAD_GESTURE.get() && mGestureState.isTrackpadGesture()
                    && !previousGestureState.isRecentsAnimationRunning()) {
                    && canStartSystemGesture && !previousGestureState.isRecentsAnimationRunning()) {
                reasonString = newCompoundString(reasonPrefix)
                        .append(SUBSTRING_PREFIX)
                        .append("Trackpad 3-finger gesture, using TrackpadStatusBarInputConsumer");