Add docs for on-demand DumpController dumping

Test: atest
Change-Id: Ib0e879cc397ef5477ff26e1fd607503ba9eae190
This commit is contained in:
Ned Burns
2020-01-09 23:23:04 -05:00
parent b4632bca2e
commit cf4da9207d

View File

@@ -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 {