From 0928332272359126b3d82d4890c54de321930aec Mon Sep 17 00:00:00 2001 From: Roopa Sattiraju Date: Tue, 29 Mar 2022 21:04:51 -0700 Subject: [PATCH 1/2] Adding bt permissions to the priv app allowlist BUG: 226403247 Test: build and boot Change-Id: I5dbe5c4a17675ee8ac6c8f24ba53b05c26c17898 --- data/etc/privapp-permissions-platform.xml | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 449fb0242d097..dfcd64bac1d16 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -33,6 +33,30 @@ applications that come with the platform + + + + + + + + + + + + + + + + + + + + + + + + From fafd819b671b1518f004dd88883da41972cf301f Mon Sep 17 00:00:00 2001 From: Zach Johnson Date: Mon, 4 Apr 2022 13:51:22 -0700 Subject: [PATCH 2/2] Make permissions Bluetooth needs role-available and create the config variable for the package name Bug: 221949454 Test: flash & test BT scenarios, ensure boots (priv app allowlists) Change-Id: Iaeb7b61b2fae31ee6e36b43f355c9a4783bd288d --- core/res/AndroidManifest.xml | 20 ++++++++++---------- core/res/res/values/config.xml | 5 +++++ core/res/res/values/public-staging.xml | 2 ++ 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 96fe7e1aa5410..4075c5f4d8ae4 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -2086,7 +2086,7 @@ + android:protectionLevel="signature|role" /> + android:protectionLevel="signature|role" /> + android:protectionLevel="signature|role" /> + android:protectionLevel="signature|role" /> + android:protectionLevel="signature|role" /> + android:protectionLevel="signature|installer|verifier|role" /> + android:protectionLevel="signature|role" /> + android:protectionLevel="signature|role" /> + android:protectionLevel="signature|role" /> + android:protectionLevel="signature|role" /> + + com.android.bluetooth.services + + false diff --git a/core/res/res/values/public-staging.xml b/core/res/res/values/public-staging.xml index 870f54989674f..86bad7f12258c 100644 --- a/core/res/res/values/public-staging.xml +++ b/core/res/res/values/public-staging.xml @@ -184,6 +184,8 @@ + +