diff options
| -rw-r--r-- | services/inputflinger/InputDeviceMetricsCollector.cpp | 2 | ||||
| -rw-r--r-- | services/inputflinger/InputManager.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/services/inputflinger/InputDeviceMetricsCollector.cpp b/services/inputflinger/InputDeviceMetricsCollector.cpp index 55b1df13cb..f92c4f47f1 100644 --- a/services/inputflinger/InputDeviceMetricsCollector.cpp +++ b/services/inputflinger/InputDeviceMetricsCollector.cpp @@ -31,7 +31,7 @@ using std::chrono_literals::operator""ns; namespace { -constexpr nanoseconds DEFAULT_USAGE_SESSION_TIMEOUT = std::chrono::minutes(2); +constexpr nanoseconds DEFAULT_USAGE_SESSION_TIMEOUT = std::chrono::seconds(5); /** * Log debug messages about metrics events logged to statsd. diff --git a/services/inputflinger/InputManager.cpp b/services/inputflinger/InputManager.cpp index 37b31875f8..1a9f47d934 100644 --- a/services/inputflinger/InputManager.cpp +++ b/services/inputflinger/InputManager.cpp @@ -34,7 +34,7 @@ namespace android { 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); using gui::FocusRequest; |