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:
@@ -115,7 +115,6 @@ cc_defaults {
|
||||
"libui",
|
||||
"libvibratorservice",
|
||||
"PlatformProperties",
|
||||
"InputFlingerProperties",
|
||||
"libinput",
|
||||
"libinputflinger",
|
||||
"libinputflinger_base",
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user