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

Commit a38454d6 authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

Revert^2 "Enable input window rotation flag"

Reland the per-window-input-rotation flag. It was reverted because it
broke touch on foldables. The issue is now fix, so attempt to reland
this.

e0f1d459

Bug: 179274888
Test: presubmit
Test: manual using foldable

Change-Id: Ie8a4af94a7b0f40e385f01aaedb5d6e79def335e
parent e0f1d459
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ public class EdgeBackGestureHandler extends CurrentUserTracker
    static final String DEBUG_MISSING_GESTURE_TAG = "NoBackGesture";

    private static final boolean ENABLE_PER_WINDOW_INPUT_ROTATION =
            SystemProperties.getBoolean("persist.debug.per_window_input_rotation", false);
            SystemProperties.getBoolean("persist.debug.per_window_input_rotation", true);

    private ISystemGestureExclusionListener mGestureExclusionListener =
            new ISystemGestureExclusionListener.Stub() {
+1 −1
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ public class InputManagerService extends IInputManager.Stub
    private static final boolean UNTRUSTED_TOUCHES_TOAST = false;

    public static final boolean ENABLE_PER_WINDOW_INPUT_ROTATION =
            SystemProperties.getBoolean("persist.debug.per_window_input_rotation", false);
            SystemProperties.getBoolean("persist.debug.per_window_input_rotation", true);

    // Pointer to native input manager service object.
    private final long mPtr;