diff options
author | Michael Groover <mpgroover@google.com> | 2020-02-19 23:37:42 -0800 |
---|---|---|
committer | Michael Groover <mpgroover@google.com> | 2021-01-11 19:46:38 +0000 |
commit | 1c1bc30ce345f770de44b4348420e860d0958534 (patch) | |
tree | 9e6b2742300c8ed7ca2fae1d6708fb15c41ce057 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a13fc7f314ac56e75eca09c94db8090f928023ff (diff) |
Whitelist READ_PRIVILEGED_PHONE_STATE for the contacts provider
In Android 10 access to device identifiers was moved from a runtime
permission to the privileged READ_PRIVILEGED_PHONE_STATE permission.
One of the non-resettable identifiers missed was SubscriptionInfo#
getIccId. The contacts provider currently uses this ID to upgrade
to version 1003 of the database; to ensure there are no issues with
this upgrade this permission is being whitelisted for the contacts
provider.
Bug: 131909991
Bug: 173421434
Test: atest ContactsProviderTests
Change-Id: I7574f787a7e55aa0337237b9fe916ee143a2f697
Merged-In: I7574f787a7e55aa0337237b9fe916ee143a2f697
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions