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

Commit baa17d7b authored by Prabir Pradhan's avatar Prabir Pradhan Committed by Automerger Merge Worker
Browse files

Merge "Enable InputDeviceMetricsCollector" into udc-qpr-dev am: 0daaa3f1 am: 7f1fa215

parents f32bbf2d 7f1fa215
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<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);