Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e285f55 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Revert^2 "Enable InputDeviceMetricsCollector"" into udc-qpr-dev am:...

Merge "Revert^2 "Enable InputDeviceMetricsCollector"" into udc-qpr-dev am: 68084da5 am: c2eb9b86

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23846725



Change-Id: I28437117f588c4704eb1aae6da3fd1cb818e6f6c
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 11fca7fa c2eb9b86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -968,7 +968,7 @@ void NativeInputManager::notifyDropWindow(const sp<IBinder>& token, float x, flo
void NativeInputManager::notifyDeviceInteraction(int32_t deviceId, nsecs_t timestamp,
                                                 const std::set<gui::Uid>& 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);