Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51e89643 authored by Eugene Susla's avatar Eugene Susla Committed by Automerger Merge Worker
Browse files

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

Change-Id: Ib9e5443c99062a5c4b8997816759a6c11ed6010d
parents 559989bd 99c0b6d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -882,7 +882,7 @@ public final class DefaultPermissionGrantPolicy {

    public void grantDefaultPermissionsToDefaultBrowser(String packageName, int 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) {