summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ned Burns <pixel@google.com> 2020-01-09 23:23:04 -0500
committer Ned Burns <pixel@google.com> 2020-01-09 23:23:04 -0500
commitcf4da9207d223b3e0e45cc45aba3bfa21217b1c7 (patch)
tree3e2d427ed308544cc03837984d69ce11ee98900b
parentb4632bca2e330dfdea959665e86153b985da5fd5 (diff)
Add docs for on-demand DumpController dumping
Test: atest Change-Id: Ib0e879cc397ef5477ff26e1fd607503ba9eae190
-rw-r--r--packages/SystemUI/src/com/android/systemui/DumpController.kt8
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 {