From 477c52ff408e7918f42e6acf23d9b54daec9d51d Mon Sep 17 00:00:00 2001 From: Arthur Hung Date: Thu, 5 Aug 2021 08:29:32 +0000 Subject: 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 --- libs/input/Input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/input/Input.cpp') 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; } -- cgit v1.2.3-59-g8ed1b