Merge "Revert^2 "Enable InputDeviceMetricsCollector"" into udc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
68084da50e
@@ -971,7 +971,7 @@ void NativeInputManager::notifyDropWindow(const sp<IBinder>& token, float x, flo
|
|||||||
void NativeInputManager::notifyDeviceInteraction(int32_t deviceId, nsecs_t timestamp,
|
void NativeInputManager::notifyDeviceInteraction(int32_t deviceId, nsecs_t timestamp,
|
||||||
const std::set<gui::Uid>& uids) {
|
const std::set<gui::Uid>& uids) {
|
||||||
static const bool ENABLE_INPUT_DEVICE_USAGE_METRICS =
|
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;
|
if (!ENABLE_INPUT_DEVICE_USAGE_METRICS) return;
|
||||||
|
|
||||||
mInputManager->getMetricsCollector().notifyDeviceInteraction(deviceId, timestamp, uids);
|
mInputManager->getMetricsCollector().notifyDeviceInteraction(deviceId, timestamp, uids);
|
||||||
|
|||||||
Reference in New Issue
Block a user