diff options
| author | 2019-10-08 21:52:40 +0000 | |
|---|---|---|
| committer | 2019-10-08 21:52:40 +0000 | |
| commit | 8018eeace2a71c598e8da678845f960314acceea (patch) | |
| tree | 2275f56f401336e03250312656b1c1801a331f62 | |
| parent | b0b28d67adb368ad5443a2b20c4397043a1adc18 (diff) | |
| parent | c989d983ecf7c0729f4725f10135a40e935b3db1 (diff) | |
Merge "Add trace points for measuring performance"
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardStateControllerImpl.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardStateControllerImpl.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardStateControllerImpl.java index cc91bc082871..392094d0288e 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardStateControllerImpl.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardStateControllerImpl.java @@ -154,13 +154,17 @@ public class KeyguardStateControllerImpl extends KeyguardUpdateMonitorCallback } private void notifyKeyguardChanged() { + Trace.beginSection("KeyguardStateController#notifyKeyguardChanged"); // Copy the list to allow removal during callback. new ArrayList<>(mCallbacks).forEach(Callback::onKeyguardShowingChanged); + Trace.endSection(); } private void notifyUnlockedChanged() { + Trace.beginSection("KeyguardStateController#notifyUnlockedChanged"); // Copy the list to allow removal during callback. new ArrayList<>(mCallbacks).forEach(Callback::onUnlockedChanged); + Trace.endSection(); } @Override |