pregrant COARSE_LOCATION to cbrsnetworkmonitor

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
This commit is contained in:
Jack Nudelman 2021-09-08 12:52:39 -07:00 committed by TreeHugger Robot
parent 695ef0553f
commit 2f52513a60

View file

@ -57,6 +57,7 @@
<exception package="com.google.android.apps.cbrsnetworkmonitor"> <exception package="com.google.android.apps.cbrsnetworkmonitor">
<!-- Location access to create CBRS geofences--> <!-- Location access to create CBRS geofences-->
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="true"/> <permission name="android.permission.ACCESS_FINE_LOCATION" fixed="true"/>
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="true"/>
<permission name="android.permission.ACCESS_BACKGROUND_LOCATION" fixed="true"/> <permission name="android.permission.ACCESS_BACKGROUND_LOCATION" fixed="true"/>
</exception> </exception>