commit | 17fe8de6b35ede03493b9af4afd2353dfbbc957f | [log] [tgz] |
---|---|---|
author | Bookatz <bookatz@google.com> | Thu Dec 13 10:31:13 2018 -0800 |
committer | Bookatz <bookatz@google.com> | Thu Dec 13 11:13:24 2018 -0800 |
tree | a6412e33bb7902f6af1bb5ea574980fe0fbb7c26 | |
parent | 7d97bf04c4ea483f335dd598b14b68971a88b54b [diff] |
Allow statsd_testdrive to work in root LocalDrive needs to handle the situation whereby the caller does 'adb root' in between calls, and therefore runs everything as shell. TestDrive is a single-call, so it can just run as the caller. That's what it used to do, but a recent refactoring made some of its calls via shell, causes an error. This fixes that. Test: manual confirmation that it worked for both shell and root Change-Id: I5e31cdd59d61290a480cb6fae107170616daabc0