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
This commit is contained in:
Prabir Pradhan
2021-11-03 12:39:58 -07:00
parent aad5d61950
commit ce09f9970b
2 changed files with 0 additions and 5 deletions

View File

@@ -115,7 +115,6 @@ cc_defaults {
"libui",
"libvibratorservice",
"PlatformProperties",
"InputFlingerProperties",
"libinput",
"libinputflinger",
"libinputflinger_base",

View File

@@ -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 void nativeReloadDeviceAliases(JNIEnv* /* env */,
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";