Merge "Clean up after enabling per-window-input-rotation"

This commit is contained in:
Prabir Pradhan
2021-11-09 11:35:54 +00:00
committed by Android (Google) Code Review
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";