Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf4da920 authored by Ned Burns's avatar Ned Burns
Browse files

Add docs for on-demand DumpController dumping

Test: atest
Change-Id: Ib0e879cc397ef5477ff26e1fd607503ba9eae190
parent b4632bca
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 {