diff options
| author | 2024-01-22 03:41:50 +0000 | |
|---|---|---|
| committer | 2024-01-22 03:41:50 +0000 | |
| commit | 4862b154a2283055f97b904a172b78a47cd48dbe (patch) | |
| tree | 3c11eee3e83aea5a94e66b29115d51d94e7f5a8f | |
| parent | fcf5c4e60baab0935a49a8101a0e91aa9efa83ec (diff) | |
Include broadcast deliveryTimeout() as a trace slice.
Bug: 289249333
Test: manual
Change-Id: Ibd51106c5eae2ee6c9ff4e6b4f644bacb6d9923e
| -rw-r--r-- | services/core/java/com/android/server/am/BroadcastQueueModernImpl.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/am/BroadcastQueueModernImpl.java b/services/core/java/com/android/server/am/BroadcastQueueModernImpl.java index 2cac7a020005..db0f03f9edc6 100644 --- a/services/core/java/com/android/server/am/BroadcastQueueModernImpl.java +++ b/services/core/java/com/android/server/am/BroadcastQueueModernImpl.java @@ -1244,9 +1244,11 @@ class BroadcastQueueModernImpl extends BroadcastQueue { } private void deliveryTimeout(@NonNull BroadcastProcessQueue queue) { + final int cookie = traceBegin("deliveryTimeout"); synchronized (mService) { deliveryTimeoutLocked(queue); } + traceEnd(cookie); } private void deliveryTimeoutLocked(@NonNull BroadcastProcessQueue queue) { |