Reland^2 "Enable input window rotation flag"
7719c7d2437171385cd692338748af583b824565
This may cause some tests to fail because of b/201777251, but since we
don't have a good idea of which/how many tests are affected, we can
judge the impact after landing.
Bug: 179274888
Test: manual
Change-Id: Ic49d0fe8024d4fcf4eab4ebe1a4a5189d8a3cec7
diff --git a/services/inputflinger/dispatcher/InputDispatcher.cpp b/services/inputflinger/dispatcher/InputDispatcher.cpp
index 3db3907..5c0becc 100644
--- a/services/inputflinger/dispatcher/InputDispatcher.cpp
+++ b/services/inputflinger/dispatcher/InputDispatcher.cpp
@@ -113,7 +113,7 @@
// coordinates and SurfaceFlinger includes the display rotation in the input window transforms.
bool isPerWindowInputRotationEnabled() {
static const bool PER_WINDOW_INPUT_ROTATION =
- sysprop::InputFlingerProperties::per_window_input_rotation().value_or(false);
+ sysprop::InputFlingerProperties::per_window_input_rotation().value_or(true);
return PER_WINDOW_INPUT_ROTATION;
}