diff options
author | Ahan Wu <ahanwu@google.com> | 2021-05-21 08:28:47 -0800 |
---|---|---|
committer | Ahan Wu <ahanwu@google.com> | 2021-06-02 01:15:30 -0800 |
commit | 97f0fe270920bb737c678a1067e79ccbc181fcec (patch) | |
tree | b315d97b825a590e389e325c3b006537453496fc /packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java | |
parent | c45abcf9db0b2d7c13d77bcca6719a8e82a5044f (diff) |
Instrument jank and latency of the unlock animation of lockscreen
Instrument jank and latency of unlock animation.
Bug: 169735612
Bug: 169735198
Bug: 169220953
Test: take trace to validate
Change-Id: I1721d7d3373f99b4aca618f86464d44ecd1e618e
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java index f0d1e02ce872..d5be7bacaadc 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java @@ -163,6 +163,7 @@ public class KeyguardPatternViewController getKeyguardSecurityCallback().reportUnlockAttempt(userId, true, 0); if (dismissKeyguard) { mLockPatternView.setDisplayMode(LockPatternView.DisplayMode.Correct); + mLatencyTracker.onActionStart(LatencyTracker.ACTION_LOCKSCREEN_UNLOCK); getKeyguardSecurityCallback().dismiss(true, userId); } } else { |