Fix print-logs
The VERY_VERBOSE_PRINTING flag guards print-logs functionality but is not present in the prebuilt version of the statsd module. To fix print-logs, we remove the flag (thereby allowing print-logs to work on user, userdebug, and eng builds), but require that the caller have root privileges. Test: adb shell cmd stats print-logs && adb logcat -s statsd:I (only works once root privileges are granted) Bug: 159982879 Change-Id: I2201fc0538876d1d6dfd6ab7abfac43cccc1102f
Showing
- cmds/statsd/Android.bp 0 additions, 4 deletionscmds/statsd/Android.bp
- cmds/statsd/src/StatsLogProcessor.cpp 0 additions, 2 deletionscmds/statsd/src/StatsLogProcessor.cpp
- cmds/statsd/src/StatsLogProcessor.h 0 additions, 4 deletionscmds/statsd/src/StatsLogProcessor.h
- cmds/statsd/src/StatsService.cpp 13 additions, 11 deletionscmds/statsd/src/StatsService.cpp
Loading
Please register or sign in to comment