From 106c0defca9abbbd52e3b13c4596015d15082c88 Mon Sep 17 00:00:00 2001 From: Hall Liu Date: Tue, 25 Feb 2020 15:59:03 -0800 Subject: [PATCH] Add PlatformCompat permissions to TelephonyProvider Add the required permissions for querying PlatformCompat to the whitelist for TelephonyProvider. This is the minimum scoped permission -- PlatformCompat only defines two permissions for access (read and write) and we need both. The alternative for using these permissions is to not call PlatformCompat and enforce the new behavior on all apps. This was deemed unacceptable by the app compat team because it was breaking some popular apps. Bug: 144631034 Test: atest TelephonyProviderHostTest Change-Id: I43a0a66ae381caf8d9e21d0f14d471b20a4e44af --- data/etc/privapp-permissions-platform.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 78c7b76d38da4..93ea5fdc31a3e 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -228,6 +228,9 @@ applications that come with the platform + + +