summaryrefslogtreecommitdiff
path: root/libs/input/Input.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2021-08-19 13:19:19 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2021-08-19 07:56:06 -0700
commit0743a594c240c8aae4ec6d925d04f53876ccd96a (patch)
treed84e0e3837f68764874deb9e02f2077d0c45b0fb /libs/input/Input.cpp
parentf334812daa74bb651590334f60229262dad11b81 (diff)
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. 477c52ff408e7918f42e6acf23d9b54daec9d51d Bug: 179274888 Test: presubmit Test: manual using foldable Change-Id: I407112b9106cd12b3bfb602a39d4c0898cfd4c0d
Diffstat (limited to 'libs/input/Input.cpp')
-rw-r--r--libs/input/Input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/input/Input.cpp b/libs/input/Input.cpp
index 35209f7a07..a9e891e445 100644
--- a/libs/input/Input.cpp
+++ b/libs/input/Input.cpp
@@ -47,7 +47,7 @@ namespace {
// coordinates and SurfaceFlinger includes the display rotation in the input window transforms.
bool isPerWindowInputRotationEnabled() {
static const bool PER_WINDOW_INPUT_ROTATION =
- base::GetBoolProperty("persist.debug.per_window_input_rotation", false);
+ base::GetBoolProperty("persist.debug.per_window_input_rotation", true);
return PER_WINDOW_INPUT_ROTATION;
}