summaryrefslogtreecommitdiff
path: root/libs/input/Input.cpp
diff options
context:
space:
mode:
author Arthur Hung <arthurhung@google.com> 2021-08-05 08:29:32 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2021-08-05 13:07:33 +0000
commit477c52ff408e7918f42e6acf23d9b54daec9d51d (patch)
tree2d033bba4455403d57419dc8de69fef69c9a79a8 /libs/input/Input.cpp
parent2919858e097178a240e0736399dfef8f18bdc31e (diff)
Revert "Enable input window rotation flag"
This reverts commit 2919858e097178a240e0736399dfef8f18bdc31e. Reason for revert: This is causing touches on foldable/large screen devices to be registered in the incorrect orientation. b/195617582 Bug: 195617582 Change-Id: I3659d8b19990eb85caa327ccab98f07692ac1f01
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 a9e891e445..35209f7a07 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", true);
+ base::GetBoolProperty("persist.debug.per_window_input_rotation", false);
return PER_WINDOW_INPUT_ROTATION;
}