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

Commit 6e25a9d8 authored by Winson Chung's avatar Winson Chung
Browse files

Fix issue with screen pinning check not apply in 2 button

Bug: 130687624
Test: Ensure you can't swipe up with screen pinning enabled in 2 button
Change-Id: I6635a9639262a4e96a104960eb5fbb3acaba8af7
parent 3d6e96d5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -547,6 +547,10 @@ public class TouchInteractionService extends Service implements
                        (mSystemUiStateFlags & SYSUI_STATE_A11Y_BUTTON_LONG_CLICKABLE) != 0, base,
                        mInputMonitorCompat, mSwipeTouchRegion);
            }
        } else {
            if ((mSystemUiStateFlags & SYSUI_STATE_SCREEN_PINNING) != 0) {
                base = mResetGestureInputConsumer;
            }
        }
        return base;
    }