From f401d21b5583c17ba7f443a0d75c13553e0ec1a2 Mon Sep 17 00:00:00 2001 From: Prabir Pradhan Date: Mon, 26 Jun 2023 18:20:39 +0000 Subject: [PATCH] Revert "Enable InputDeviceMetricsCollector" Revert submission 23491348-enable-metrics-collector Reason for revert: b/287676652 Reverted changes: /q/submissionid:23491348-enable-metrics-collector Change-Id: Id8a2518e40fc814ea7fe96c97899ab60d06593b6 --- .../core/jni/com_android_server_input_InputManagerService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/jni/com_android_server_input_InputManagerService.cpp b/services/core/jni/com_android_server_input_InputManagerService.cpp index 1e502e17b00eb..52615295f38a6 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& token, float x, flo void NativeInputManager::notifyDeviceInteraction(int32_t deviceId, nsecs_t timestamp, const std::set& uids) { static const bool ENABLE_INPUT_DEVICE_USAGE_METRICS = - sysprop::InputProperties::enable_input_device_usage_metrics().value_or(true); + sysprop::InputProperties::enable_input_device_usage_metrics().value_or(false); if (!ENABLE_INPUT_DEVICE_USAGE_METRICS) return; mInputManager->getMetricsCollector().notifyDeviceInteraction(deviceId, timestamp, uids);