diff options
author | 2020-01-10 14:07:19 +0000 | |
---|---|---|
committer | 2020-01-10 14:07:19 +0000 | |
commit | f2be9da2fcb0e4a2daf89f6c6f189096484b6a7c (patch) | |
tree | d6caa36be2ad52df0ddc0979d78f94afb7973446 | |
parent | d5a54bfe7dcc779274ec84d8659473223d72c816 (diff) | |
parent | cf4da9207d223b3e0e45cc45aba3bfa21217b1c7 (diff) |
Merge "Add docs for on-demand DumpController dumping"
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/DumpController.kt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/DumpController.kt b/packages/SystemUI/src/com/android/systemui/DumpController.kt index 8c7075bee6cc..f14c4cd8e6c6 100644 --- a/packages/SystemUI/src/com/android/systemui/DumpController.kt +++ b/packages/SystemUI/src/com/android/systemui/DumpController.kt @@ -30,6 +30,14 @@ import javax.inject.Singleton /** * Controller that allows any [Dumpable] to subscribe and be dumped along with other SystemUI * dependencies. + * + * To dump a specific dumpable on-demand: + * + * ``` + * $ adb shell dumpsys activity service com.android.systemui/.SystemUIService dependency DumpController <tag1>,<tag2>,<tag3> + * ``` + * + * Where tag1, tag2, etc. are the tags of the dumpables you want to dump. */ @Singleton class DumpController @Inject constructor() : Dumpable { |