Merge "Use MotionEvent.getEventTime() instead of SystemClock.uptimeMillis()" into tm-qpr-dev

This commit is contained in:
Jeff DeCew
2023-01-11 15:12:03 +00:00
committed by Android (Google) Code Review

View File

@@ -109,7 +109,7 @@ public class ActivatableNotificationViewController
return true;
}
if (ev.getAction() == MotionEvent.ACTION_UP) {
mView.setLastActionUpTime(SystemClock.uptimeMillis());
mView.setLastActionUpTime(ev.getEventTime());
}
// With a11y, just do nothing.
if (mAccessibilityManager.isTouchExplorationEnabled()) {