diff options
author | Hall Liu <hallliu@google.com> | 2021-03-31 09:47:37 -0700 |
---|---|---|
committer | Hall Liu <hallliu@google.com> | 2021-04-19 15:00:01 -0700 |
commit | f4562b5cee38bd5f75fd79499e79d15713f07613 (patch) | |
tree | 13835fd17c71b117d3f68a6744338738031d3cb1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 61ce1506ca4bd4a1e97e1d438c9e9c8cd12ef541 (diff) |
Remove fixed grant of READ_PHONE_STATE and cleanup
No longer grant READ_PHONE_STATE as a fixed permission to all apps
holding READ_PRIVILEGED_PHONE_STATE. Also clean up the previous grants
by un-fixing the permission if the app requests it in the manifest, and
removing it altogether if the app only requests READ_PRIV.
Bug: 183537857
Test: manual -- prepare two system apps, one with READ_PRIV and
READ_PHONE and one with only READ_PRIV, then go through the upgrade flow
with this CL.
Change-Id: Id1fac0f9f4391857f46c7109eadafd60420b279d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions