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

Commit 16852904 authored by Tajinder Gadh's avatar Tajinder Gadh Committed by Automerger Merge Worker
Browse files

DO NOT MERGE: AR Attributions for Location history. am: 8153df7f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13878167

Change-Id: If868a3ef7c071ad60794fd8961eca24499261185
parents bb782b9a 8153df7f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -737,10 +737,12 @@ final class DefaultPermissionGrantPolicy {
            }
        }
        if (locationExtraPackageNames != null) {
            // Also grant location permission to location extra packages.
            // Also grant location and activity recognition permission to location extra packages.
            for (String packageName : locationExtraPackageNames) {
                grantPermissionsToSystemPackage(pm, packageName, userId,
                        ALWAYS_LOCATION_PERMISSIONS);
                grantSystemFixedPermissionsToSystemPackage(pm, packageName, userId,
                        ACTIVITY_RECOGNITION_PERMISSIONS);
            }
        }