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

Commit f401d21b authored by Prabir Pradhan's avatar Prabir Pradhan Committed by Android (Google) Code Review
Browse files

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
parent f6cf7f0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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(true);
            sysprop::InputProperties::enable_input_device_usage_metrics().value_or(false);
    if (!ENABLE_INPUT_DEVICE_USAGE_METRICS) return;

    mInputManager->getMetricsCollector().notifyDeviceInteraction(deviceId, timestamp, uids);