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

Skip to content
Commit 2b4ed932 authored by Winson Chung's avatar Winson Chung
Browse files

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
parent 177b4e45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment