commit | a7354e00ce26c716178f592763fe5870000a8f92 | [log] [tgz] |
---|---|---|
author | shafik <shafik@google.com> | Thu Feb 27 21:58:41 2020 +0000 |
committer | shafik <shafik@google.com> | Thu Feb 27 21:58:41 2020 +0000 |
tree | f9e68b7ea4dd5ecb96838752066645e9a359d671 | |
parent | 5032657f7aafa087073e2a076e0e65ca33a433c3 [diff] |
Fix flaky case testManageExternalStorageCanCreateFilesAnywhere Use allowAppOpsToUid instead of adoptShellPermissionIdentity to get All Files Access. This seemed to fix the flake, and is also more suitable for testing All Files Access since most apps will get the access by being allowed the app-op rather than getting the permission. Test: atest FuseDaemonHostTest --iterations 10 Fix: 150081384 Change-Id: I9013434d56e587e3afd29eb79f20b9ffa930e6cf