Index: ui/base/user_activity/user_activity_detector.cc |
diff --git a/ui/base/user_activity/user_activity_detector.cc b/ui/base/user_activity/user_activity_detector.cc |
index d9a906aa5c20dc3326bbb30d3248bab7371f4dd7..c35300cd035dd12d3aacece5a8e41424be80367d 100644 |
--- a/ui/base/user_activity/user_activity_detector.cc |
+++ b/ui/base/user_activity/user_activity_detector.cc |
@@ -117,6 +117,7 @@ void UserActivityDetector::ProcessReceivedEvent(const ui::Event* event) { |
void UserActivityDetector::HandleActivity(const ui::Event* event) { |
base::TimeTicks now = GetCurrentTime(); |
last_activity_time_ = now; |
+ last_activity_name_ = event->name(); |
if (last_observer_notification_time_.is_null() || |
(now - last_observer_notification_time_).InMillisecondsF() >= |
kNotifyIntervalMs) { |