Clean up after enabling per-window-input-rotation

The input feature of per-window-input-rotation is now enabled by
default. Since we don't want to maintain two pipelines for input
rotation, we remove the old code path and clean up accordingly.

Bug: 188939842
Test: presubmit
Test: manual, test that touch and mouse works with display rotated
Change-Id: I8663fbe00f95aa0ce87bfcddd5b9035ef6a65b87
diff --git a/services/core/jni/Android.bp b/services/core/jni/Android.bp
index eb2c8a6..7e092c1 100644
--- a/services/core/jni/Android.bp
+++ b/services/core/jni/Android.bp
@@ -115,7 +115,6 @@
         "libui",
         "libvibratorservice",
         "PlatformProperties",
-        "InputFlingerProperties",
         "libinput",
         "libinputflinger",
         "libinputflinger_base",
diff --git a/services/core/jni/com_android_server_input_InputManagerService.cpp b/services/core/jni/com_android_server_input_InputManagerService.cpp
index 790acbf..c02d6ce 100644
--- a/services/core/jni/com_android_server_input_InputManagerService.cpp
+++ b/services/core/jni/com_android_server_input_InputManagerService.cpp
@@ -26,7 +26,6 @@
 // Log debug messages about InputDispatcherPolicy
 #define DEBUG_INPUT_DISPATCHER_POLICY 0
 
-#include <InputFlingerProperties.sysprop.h>
 #include <android-base/parseint.h>
 #include <android-base/stringprintf.h>
 #include <android/os/IInputConstants.h>
@@ -2087,9 +2086,6 @@
 
 static std::string dumpInputProperties() {
     std::string out = "Input properties:\n";
-    const bool perWindowInputRotation =
-            sysprop::InputFlingerProperties::per_window_input_rotation().value_or(false);
-    out += StringPrintf("  per_window_input_rotation = %s\n", toString(perWindowInputRotation));
     const std::string strategy =
             sysprop::InputProperties::velocitytracker_strategy().value_or("default");
     out += "  persist.input.velocitytracker.strategy = " + strategy + "\n";