From 884cfff3b89774311c196543601b1090330cda57 Mon Sep 17 00:00:00 2001 From: Xabier Gorostidi Date: Wed, 29 Jun 2022 11:43:15 +0200 Subject: [PATCH] Make AndroidManifest permissions more specific by platform Some permissions were added on a specific Android API, and were also removed on a different one. This PR intents to delimit the scope of those dangerous permissions. --- scanner/src/main/AndroidManifest.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scanner/src/main/AndroidManifest.xml b/scanner/src/main/AndroidManifest.xml index f089fde..fa599e3 100644 --- a/scanner/src/main/AndroidManifest.xml +++ b/scanner/src/main/AndroidManifest.xml @@ -19,15 +19,16 @@ declare this permission with this flag set to "neverForLocation". --> + android:name="android.permission.BLUETOOTH_SCAN" + tools:targetApi="s" /> - - - - --> + +