From cf4da9207d223b3e0e45cc45aba3bfa21217b1c7 Mon Sep 17 00:00:00 2001 From: Ned Burns Date: Thu, 9 Jan 2020 23:23:04 -0500 Subject: [PATCH] Add docs for on-demand DumpController dumping Test: atest Change-Id: Ib0e879cc397ef5477ff26e1fd607503ba9eae190 --- .../SystemUI/src/com/android/systemui/DumpController.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/DumpController.kt b/packages/SystemUI/src/com/android/systemui/DumpController.kt index 8c7075bee6cc0..f14c4cd8e6c6b 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 ,, + * ``` + * + * Where tag1, tag2, etc. are the tags of the dumpables you want to dump. */ @Singleton class DumpController @Inject constructor() : Dumpable {