commit | 432f3705a9ee274734187ca740357550394809f6 | [log] [tgz] |
---|---|---|
author | Ruchir Rastogi <ruchirr@google.com> | Mon Jul 06 15:48:45 2020 -0700 |
committer | Ruchir Rastogi <ruchirr@google.com> | Tue Jul 07 10:09:52 2020 -0700 |
tree | 73ea6526d29fbb77b9b20b4daef0f0609740fbb8 | |
parent | 70ea5e8dca6fda75ede5c5331baf59caa372bc7b [diff] |
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