Merge "Use MotionEvent.getEventTime() instead of SystemClock.uptimeMillis()" into tm-qpr-dev am: 88e06fd20a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20931865 Change-Id: I62afcbd8977bf6933debd3a57936673ec83ecd5e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user