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
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index 395091b..938252a 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -3055,7 +3055,7 @@
bool enablePerWindowInputRotation() {
static bool value =
- android::base::GetBoolProperty("persist.debug.per_window_input_rotation", false);
+ android::base::GetBoolProperty("persist.debug.per_window_input_rotation", true);
return value;
}