Loading services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java +10 −0 Original line number Diff line number Diff line Loading @@ -743,6 +743,16 @@ final class DefaultPermissionGrantPolicy { grantRuntimePermissionsLPw(calendarAppPackage, CALENDAR_PERMISSIONS, userId); } // eDrive App PackageParser.Package driveAppPackage = getSystemPackageLPr("foundation.e.drive"); if (driveAppPackage != null && doesPackageSupportRuntimePermissions(driveAppPackage)) { grantRuntimePermissionsLPw(driveAppPackage, STORAGE_PERMISSIONS, userId); grantRuntimePermissionsLPw(driveAppPackage, CONTACTS_PERMISSIONS, userId); } // esms sync PackageParser.Package esmsPackage = getSystemPackageLPr("foundation.e.esmssync"); if (esmsPackage != null Loading Loading
services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java +10 −0 Original line number Diff line number Diff line Loading @@ -743,6 +743,16 @@ final class DefaultPermissionGrantPolicy { grantRuntimePermissionsLPw(calendarAppPackage, CALENDAR_PERMISSIONS, userId); } // eDrive App PackageParser.Package driveAppPackage = getSystemPackageLPr("foundation.e.drive"); if (driveAppPackage != null && doesPackageSupportRuntimePermissions(driveAppPackage)) { grantRuntimePermissionsLPw(driveAppPackage, STORAGE_PERMISSIONS, userId); grantRuntimePermissionsLPw(driveAppPackage, CONTACTS_PERMISSIONS, userId); } // esms sync PackageParser.Package esmsPackage = getSystemPackageLPr("foundation.e.esmssync"); if (esmsPackage != null Loading