Merge "Change Browser location pre-grant to fg-only" into rvc-dev am: 99c0b6d118 am: 51e8964356

Change-Id: If9edf182911fae2bac2c9801becc32cb8509f143
This commit is contained in:
Eugene Susla
2020-04-08 01:10:09 +00:00
committed by Automerger Merge Worker

View File

@@ -882,7 +882,7 @@ public final class DefaultPermissionGrantPolicy {
public void grantDefaultPermissionsToDefaultBrowser(String packageName, int userId) { public void grantDefaultPermissionsToDefaultBrowser(String packageName, int userId) {
Log.i(TAG, "Granting permissions to default browser for user:" + userId); Log.i(TAG, "Granting permissions to default browser for user:" + userId);
grantPermissionsToSystemPackage(packageName, userId, ALWAYS_LOCATION_PERMISSIONS); grantPermissionsToSystemPackage(packageName, userId, FOREGROUND_LOCATION_PERMISSIONS);
} }
private String getDefaultSystemHandlerActivityPackage(String intentAction, int userId) { private String getDefaultSystemHandlerActivityPackage(String intentAction, int userId) {