diff options
| author | Fabian Kozynski <kozynski@google.com> | 2022-07-06 14:02:53 -0400 |
|---|---|---|
| committer | Fabian Kozynski <kozynski@google.com> | 2022-10-20 14:25:24 -0400 |
| commit | afa802a889917c417bc401f2ad1c00391ce866bc (patch) | |
| tree | 7cce92c6db4fce2930f38ca646ce22c63cbd00ac /services/java/com/android/server/SystemServer.java | |
| parent | 5acc7d2615098c6468729b73fab095f97060f3da (diff) | |
Proto dump from SystemUI.
Needs to be called by doing `adb shell dumpsys statusbar --proto`
because using `dumpsys activity service` adds text to the dump.
Will also be dumped as part of the BR
Test: atest SystemUITests
Test: Used in CTS
Test: manual dump and BR
Fixes 237786667
Change-Id: I74abf65a76c059ea9bb5a14728192b6b683b7fc7
Diffstat (limited to 'services/java/com/android/server/SystemServer.java')
| -rw-r--r-- | services/java/com/android/server/SystemServer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 2ee4af56d320..46141940a907 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -1823,7 +1823,8 @@ public final class SystemServer implements Dumpable { t.traceBegin("StartStatusBarManagerService"); try { statusBar = new StatusBarManagerService(context); - ServiceManager.addService(Context.STATUS_BAR_SERVICE, statusBar); + ServiceManager.addService(Context.STATUS_BAR_SERVICE, statusBar, false, + DUMP_FLAG_PRIORITY_NORMAL | DUMP_FLAG_PROTO); } catch (Throwable e) { reportWtf("starting StatusBarManagerService", e); } |
