diff options
| author | 2020-02-19 23:37:42 -0800 | |
|---|---|---|
| committer | 2020-02-26 18:43:50 +0000 | |
| commit | 58f20c408fe08f53229def416fff42d52b0809e4 (patch) | |
| tree | a99d6cd2635ee3e4ff5e0c2ea8e687837d8e9f0a /libs/androidfw/DynamicLibManager.cpp | |
| parent | adbd87e55bbd1933cbee8ef3295f5d7a1c2e5d64 (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
Test: atest ContactsProviderTests
Change-Id: I7574f787a7e55aa0337237b9fe916ee143a2f697
Merged-In: I7574f787a7e55aa0337237b9fe916ee143a2f697
(cherry picked from commit 7b484438ec0f1e8763cb50bd9ffc96c155a776ef)
Diffstat (limited to 'libs/androidfw/DynamicLibManager.cpp')
0 files changed, 0 insertions, 0 deletions