diff options
| author | 2023-03-02 10:38:56 +0000 | |
|---|---|---|
| committer | 2023-03-07 14:18:14 +0000 | |
| commit | fe58d1c240953a90d4d96645bfad495317ad5026 (patch) | |
| tree | 253a3c3956e348bac8b074682f51bcbf8ca570e6 /wifi/java | |
| parent | 1edc7145f7c9c7ee9d739f515cea9ca1b481ee89 (diff) | |
Only enforce caller is root for special commands
Commands like "adb shell cmd dreams", "adb shell cmd dreams dump",
and "adb shell cmd dreams help", should all work. Also, when the
other commands are called without being root, print the exception
to the PrintWriter instead of to logcat where it may not be
noticed.
Fix: 272000370
Change-Id: Ida3c9bdb8b54a8897fe8261222f4cb9b1a08e0e4
Test: adb shell cmd dreams help # accepted
Test: adb shell cmd dreams start-dreaming # rejected
Diffstat (limited to 'wifi/java')
0 files changed, 0 insertions, 0 deletions