Loading services/core/java/com/android/server/pm/permission/DefaultPermissionGrantPolicy.java +11 −0 Original line number Diff line number Diff line Loading @@ -881,6 +881,17 @@ public final class DefaultPermissionGrantPolicy { grantRuntimePermissions(accountManagerPackage, TASKS_PERMISSIONS, userId); } // eDrive PackageParser.Package drivePackage = getSystemPackage("foundation.e.drive"); if (drivePackage != null && doesPackageSupportRuntimePermissions(drivePackage)) { grantRuntimePermissions(drivePackage, CONTACTS_PERMISSIONS, userId); grantRuntimePermissions(drivePackage, STORAGE_PERMISSIONS, userId); } // Apps PackageParser.Package appsPackage = getSystemPackage("foundation.e.apps"); if (appsPackage != null Loading Loading
services/core/java/com/android/server/pm/permission/DefaultPermissionGrantPolicy.java +11 −0 Original line number Diff line number Diff line Loading @@ -881,6 +881,17 @@ public final class DefaultPermissionGrantPolicy { grantRuntimePermissions(accountManagerPackage, TASKS_PERMISSIONS, userId); } // eDrive PackageParser.Package drivePackage = getSystemPackage("foundation.e.drive"); if (drivePackage != null && doesPackageSupportRuntimePermissions(drivePackage)) { grantRuntimePermissions(drivePackage, CONTACTS_PERMISSIONS, userId); grantRuntimePermissions(drivePackage, STORAGE_PERMISSIONS, userId); } // Apps PackageParser.Package appsPackage = getSystemPackage("foundation.e.apps"); if (appsPackage != null Loading