From 4452bbd06550baaa141b1ccb9a850a165d30fab3 Mon Sep 17 00:00:00 2001 From: Jay Thomas Sullivan Date: Wed, 10 Mar 2021 21:51:22 +0000 Subject: [PATCH] Split new NEARBY_DEVICES permissions This creates a "split permission" from: - BLUETOOTH to BLUETOOTH_SCAN and BLUETOOTH_CONNECT, and - BLUETOOTH_ADMIN to BLUETOOTH_SCAN and BLUETOOTH_CONNECT ...for apps targetting SDK<31. What this means is that any apps that use either the BLUETOOTH or the BLUETOOTH_ADMIN permission, and target SDK<31, will automatically be be granted the BLUETOOTH_SCAN and BLUETOOTH_CONNECT permissions. Bug: 181813006 Test: manual Change-Id: I92a974203fd51e87747e740273a21ba399a81cd0 --- data/etc/platform.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/data/etc/platform.xml b/data/etc/platform.xml index 27bf4ef4c84dc..8da4a37e44cda 100644 --- a/data/etc/platform.xml +++ b/data/etc/platform.xml @@ -224,7 +224,22 @@ targetSdk="29"> - + + + + + + + + + + + +