With Android T, GoogleRestore uses NEARBY_WIFI_DEVICES to create a hotspot. ACCESS_FINE_LOCATION was used in Android S and no longer needed in Android T.
Bug: 231966826
Test: Manual tested on Bramble. Used a GoogleRestore APK which declares the use of the ACCESS_FINE_LOCATION permission but the permission is not granted by default.
Change-Id: I097e27608f3b2e1e65945a7bed46d1e41dcbe376
We used ACCESS_FINE_LOCATION to start a WiFi P2P connection. From
Android T, the required permission is changed to NEARBY_WIFI_DERVICES
instead.
Bug: 219855567
Test: Manual tested on Oriole. Used a local built Restore APK which
declares the use of the permission. Push that APK to the test Oriole and
validate the permission is granted by default.
Change-Id: I56924aa3e0250c94bc4fefe5d9b901b4e23d0c2b
Add BLUETOOTH_CONNECT permission for SettingsIntelligence, which is required for the battery widget feature to launch the detailed bluetooth settings page in the Settings
Test: build
Bug: 227265502
Change-Id: I166c0ed987b82428583243e52c343dda30a93ba4
as per https://developer.android.com/about/versions/12/approximate-location If your app targets Android 12 and you request the ACCESS_FINE_LOCATION permission, you must also request the ACCESS_COARSE_LOCATION permission.
Pregrant also given in cl/396867561.
Bug: 189868097
Bug: 123422575
Test: b/199306063
Change-Id: I541ad113d43015101a41492409f62b88f6a993ba
CBRS is ramping up so we need to make sure the necessary location permissions are granted before it launches
Bug: 188832088
Bug: 123422575
Test: b/199306063
Change-Id: I0fbb20b3e0ea7555300d84ed750ae465fe144da9
Test: checked for pregranted camera permissions in Settings -> All Apps -> Pixel
Camera Services
Bug: 183533362
Change-Id: Ie0816a1170557d9aac364f69d2a7ca3f6dfcf3bd
-. RECEIVE_SMS and READ_PHONE_NUMBERS permissions are no longer used.
-. Add the ACCESS_FINE_LOCATION permission for iOS WiFi D2D which was approved in b/188150877.
Bug: 188150877
Fix: 162937804
Test: Manual tested on Barbet.
Change-Id: I518275717ebd2b81bb888eaddc58222fe92b92c1