diff options
author | shafik <shafik@google.com> | 2020-02-21 15:29:58 +0000 |
---|---|---|
committer | Shafik Nassar <shafik@google.com> | 2020-02-24 11:28:58 +0000 |
commit | 3ea80350ef1e6f6dee972a23e70d3be7be1a79be (patch) | |
tree | c81e2ba07a6c7100c4f19c82b7731cacf95c395d /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java | |
parent | 23c81a156eefeb7858eb5d91278a9268da43e282 (diff) |
Ignore package mode for MANAGE_EXTERNAL_STORAGE
OP_MANAGE_EXTERNAL_STORAGE's app-op mode should be set via setUidMode
instead of setMode. This change ignores the package mode (set via
setMode) for that app-op.
Test: manual update test
* adb pull /data/system/appops.xml # observe that app-op in the file
* flash device with the change
* adb pull /data/system/appops.xml # observe the app-op was removed
Bug: 146425146
Merged-In: d5f77513e5b9fd4fbceacea22eae7dd0de4dd2d1
Change-Id: I8dd503592ae20388e59b109a4b04f58d00a9597c
(cherry picked from commit d5f77513e5b9fd4fbceacea22eae7dd0de4dd2d1)
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions