commit | 7367aa8c8fafbcf08a88b1dcfdf9b5f535252e9f | [log] [tgz] |
---|---|---|
author | JW Wang <wangchun@google.com> | Wed Oct 14 18:19:14 2020 +0800 |
committer | JW Wang <wangchun@google.com> | Thu Oct 15 09:56:48 2020 +0800 |
tree | a0ced636b457cf58e805963428985484a599b6fe | |
parent | cde1a0fce0c07970d24123916bafb072f19edeb4 [diff] |
Enable root before calling INativeDevice#pushString 1. We need root to push files to folders like /data/user_de or /data/misc_ce successfully. 2. Disable root at the end of each helper method so we don't accidentally run the following code as root. Bug: 170804667 Test: atest StagedRollbackTest Change-Id: Icfa8054eafa9230a1893bde33b8f0005f8b6c69d