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

Commit 13580086 authored by Alexandre Roux's avatar Alexandre Roux
Browse files

Merge branch 'calendar_permission_grant_q' into 'v1-q'

Grant Default Permission to Calendar

See merge request e/os/android_frameworks_base!77
parents 77f7ca71 38c7dc93
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -763,6 +763,9 @@ public final class DefaultPermissionGrantPolicy {
        String drivePackage = "foundation.e.drive";
        grantPermissionsToSystemPackage(drivePackage, userId, CONTACTS_PERMISSIONS, STORAGE_PERMISSIONS);

         // eDrive
        String calendarAppPackage = "foundation.e.calendar";
        grantPermissionsToSystemPackage(calendarAppPackage, userId, CONTACTS_PERMISSIONS, STORAGE_PERMISSIONS,CALENDAR_PERMISSIONS);

        // System Captions Service
        String systemCaptionsServicePackageName =