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

Commit fb3c9e56 authored by Ethan Febinger's avatar Ethan Febinger
Browse files

Pregrant CONTACTS_PERMISSIONS for Wear Assistant

Bug: 398866364
Flag: NONE only granting permission
Change-Id: I6614fad026bd6a699bafb9973c117d942f0eddd7
parent fc2d0835
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);
        }