summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2023-06-28 16:16:27 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-06-28 16:16:36 +0000
commitb346ae4ff3d5137e391a710b771a86151b2bb6a2 (patch)
treecd9bb3dec1a645b8c3c358f21148f43528855730
parentf401d21b5583c17ba7f443a0d75c13553e0ec1a2 (diff)
Revert^2 "Enable InputDeviceMetricsCollector"
f401d21b5583c17ba7f443a0d75c13553e0ec1a2 Change-Id: I2f700b372eaec0d18d710e15b1bcdbccb0723fff
-rw-r--r--services/core/jni/com_android_server_input_InputManagerService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/jni/com_android_server_input_InputManagerService.cpp b/services/core/jni/com_android_server_input_InputManagerService.cpp
index 52615295f38a..1e502e17b00e 100644
--- a/services/core/jni/com_android_server_input_InputManagerService.cpp
+++ b/services/core/jni/com_android_server_input_InputManagerService.cpp
@@ -971,7 +971,7 @@ void NativeInputManager::notifyDropWindow(const sp<IBinder>& token, float x, flo
void NativeInputManager::notifyDeviceInteraction(int32_t deviceId, nsecs_t timestamp,
const std::set<int32_t>& uids) {
static const bool ENABLE_INPUT_DEVICE_USAGE_METRICS =
- sysprop::InputProperties::enable_input_device_usage_metrics().value_or(false);
+ sysprop::InputProperties::enable_input_device_usage_metrics().value_or(true);
if (!ENABLE_INPUT_DEVICE_USAGE_METRICS) return;
mInputManager->getMetricsCollector().notifyDeviceInteraction(deviceId, timestamp, uids);