From 94ff9d8ce2a592f652dc1b01b9b8370028efa009 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Tue, 4 May 2021 11:28:24 +0100 Subject: [PATCH] SystemUI: Set usesPermissionFlags="neverForLocation" System UI requires BT permissions in order to present device state to users, and these permissions are never used to derive user location. This change also removes the COARSE_LOCATION permission that was added in commit a86101724b to receive BluetoothDevice.ACTION_FOUND broadcasts. This is no longer necessary. Test: atest SystemUITests Bug: 187069003 Change-Id: I0c9e6603aeb99d3ccfc21d4e26314740e08cf166 --- packages/SystemUI/AndroidManifest.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml index 173e959540146..d6989753f16e6 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -62,11 +62,13 @@ - - - + + + -