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

Commit 04274c02 authored by Ethan Febinger's avatar Ethan Febinger Committed by Android (Google) Code Review
Browse files

Merge "Pregrant CONTACTS_PERMISSIONS for Wear Assistant" into main

parents 4d6283b9 fb3c9e56
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -897,7 +897,7 @@ final class DefaultPermissionGrantPolicy {
                    SearchManager.INTENT_ACTION_GLOBAL_SEARCH, userId);
            grantPermissionsToSystemPackage(pm, voiceSearchPackage,
                    userId, PHONE_PERMISSIONS, CALENDAR_PERMISSIONS, NEARBY_DEVICES_PERMISSIONS,
                    COARSE_BACKGROUND_LOCATION_PERMISSIONS);
                    COARSE_BACKGROUND_LOCATION_PERMISSIONS, CONTACTS_PERMISSIONS);
            revokeRuntimePermissions(pm, voiceSearchPackage,
                FINE_LOCATION_PERMISSIONS, false, userId);
        }