From 70b4a2e524b5739c237c4e06eea9fc15914ff44d Mon Sep 17 00:00:00 2001 From: markchien Date: Thu, 12 Mar 2020 15:22:01 +0800 Subject: [PATCH 1/2] Give tethering bluetooth privilege permission Permisssion of PanService#setBluetoothTethering is change from BLUETOOTH_ADMIN to BLUETOOTH_PRIVILEGED. Tethering service need bluetooth privilege permission to enable bluetooth tethering. Bug: 146045934 Test: on/off bluetooth tethering Merged-In: Ib87a5d5a5bb49390aa55e52713bb3539d4a52348 Change-Id: Ib87a5d5a5bb49390aa55e52713bb3539d4a52348 (cherry picked from commit 1f47e1c22ef82e725575666ddff943c1d560652a) --- Tethering/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tethering/AndroidManifest.xml b/Tethering/AndroidManifest.xml index c71d0d7bc5..9328611f5d 100644 --- a/Tethering/AndroidManifest.xml +++ b/Tethering/AndroidManifest.xml @@ -27,7 +27,7 @@ added to the privileged permissions whitelist for that package. --> - + From 299d3a740fb75bad24f5764f95f5fe7488e50d34 Mon Sep 17 00:00:00 2001 From: markchien Date: Thu, 12 Mar 2020 15:22:01 +0800 Subject: [PATCH 2/2] Give tethering bluetooth privilege permission Permisssion of PanService#setBluetoothTethering is change from BLUETOOTH_ADMIN to BLUETOOTH_PRIVILEGED. Tethering service need bluetooth privilege permission to enable bluetooth tethering. Bug: 146045934 Test: on/off bluetooth tethering Merged-In: Ib87a5d5a5bb49390aa55e52713bb3539d4a52348 Change-Id: Ib87a5d5a5bb49390aa55e52713bb3539d4a52348 (cherry picked from commit 1f47e1c22ef82e725575666ddff943c1d560652a) --- Tethering/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tethering/AndroidManifest.xml b/Tethering/AndroidManifest.xml index c71d0d7bc5..9328611f5d 100644 --- a/Tethering/AndroidManifest.xml +++ b/Tethering/AndroidManifest.xml @@ -27,7 +27,7 @@ added to the privileged permissions whitelist for that package. --> - +