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.

e0f1d459c9

Bug: 179274888
Test: presubmit
Test: manual using foldable

Change-Id: Ie8a4af94a7b0f40e385f01aaedb5d6e79def335e
This commit is contained in:
Prabir Pradhan
2021-08-19 13:19:19 +00:00
parent e0f1d459c9
commit a38454d64d
2 changed files with 2 additions and 2 deletions

View File

@@ -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() {

View File

@@ -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;