replicant-frameworks_native/cmds/dumpstate
Nick Kralevich 1e339878c1 dumpstate: handle old style "adb bugreport"
When "adb bugreport" was run on previous adb releases, it
called "adb shell dumpstate". In later versions of Android,
this was changed to "adb shell bugreport", which starts
the dumpstate service.

Modify the dumpstate command so that it calls bugreport
when it's not running as root. This allows both
"adb shell dumpstate" and "adb shell bugreport" to have
the exact same output.

Bug: 6391938
Change-Id: Ia32bb9ebc579db3bee7caa0fe66dc3f124d60a12
2012-06-06 16:43:16 -07:00
..
Android.mk move dumpstate and dumpsys from frameworks/base to frameworks/native 2012-03-26 12:39:26 -07:00
dumpstate.c dumpstate: handle old style "adb bugreport" 2012-06-06 16:43:16 -07:00
dumpstate.h move dumpstate and dumpsys from frameworks/base to frameworks/native 2012-03-26 12:39:26 -07:00
utils.c dumpstate: don't follow symlinks when creating /data/anr/traces.txt 2012-04-06 09:53:45 -07:00