Proxy wm commands to shell to simplify command line usage
- Existing command (will continue to work):
adb shell dumpsys activity service SystemUIService WMShell <cmd>
Alternative command:
adb shell wm shell <cmd>
- Piggy back off existing statusbar cmd passthroughs to route
"adb wm shell ..." commands to shell (both have to go to SysUI)
- Add explicit dump command for clarity (instead of automatically dumping
if there is no specified command)
- Remove legacy "wm shell tracing" commands since
PerfettoTransitionTracer doesn't implement them and the
perfettoTransitionTracing() flag is already in nextfood
Flag: EXEMPT dev-only bug fix
Fixes: 378908218
Test: Verified both new and legacy commands continuet to work:
adb shell wm shell <cmd>
adb shell dumpsys activity service SystemUIService WMShell <cmd>
Change-Id: Ic5761487ac78f3d1f11e3d92c994e938d70b09a7
13 files changed