commit | 4b3a1f5fc2813c70703b43b97790dccc1fcb772e | [log] [tgz] |
---|---|---|
author | Anton Philippov <philippov@google.com> | Fri May 04 14:46:44 2018 +0100 |
committer | Anton Philippov <philippov@google.com> | Fri May 04 14:02:28 2018 +0000 |
tree | e142c64fb03e237b775b215b2a7a2ab123e3e87b | |
parent | eb43503f1925d36caf346ca9d76eb7a8dfa7725a [diff] |
Grant SharedStorageBackup storage access. Shared storage backup had been relying on the WRITE_MEDIA_STORAGE permission to access files on external storage, but that permission has been locked down, and we need to use the real WRITE_EXTERNAL_STORAGE permission now. Bug: 78938482 Test: build && boot && 'adb backup -shared' && 'adb restore backup.ab' Test: make gts -j32 && gts-tradefed run gts -m GtsPermissionTestCases Change-Id: Id244a1178936e8ffcccc7f95bcb120809a4b4607