Loading services/core/java/com/android/server/pm/permission/DefaultPermissionGrantPolicy.java +0 −9 Original line number Diff line number Diff line Loading @@ -903,15 +903,6 @@ final class DefaultPermissionGrantPolicy { COARSE_BACKGROUND_LOCATION_PERMISSIONS, CONTACTS_PERMISSIONS); } // Content capture String contentCapturePackageName = mContext.getPackageManager().getContentCaptureServicePackageName(); if (!TextUtils.isEmpty(contentCapturePackageName)) { grantPermissionsToSystemPackage(pm, contentCapturePackageName, userId, PHONE_PERMISSIONS, SMS_PERMISSIONS, ALWAYS_LOCATION_PERMISSIONS, CONTACTS_PERMISSIONS, STORAGE_PERMISSIONS); } // Attention Service String attentionServicePackageName = mContext.getPackageManager().getAttentionServicePackageName(); Loading Loading
services/core/java/com/android/server/pm/permission/DefaultPermissionGrantPolicy.java +0 −9 Original line number Diff line number Diff line Loading @@ -903,15 +903,6 @@ final class DefaultPermissionGrantPolicy { COARSE_BACKGROUND_LOCATION_PERMISSIONS, CONTACTS_PERMISSIONS); } // Content capture String contentCapturePackageName = mContext.getPackageManager().getContentCaptureServicePackageName(); if (!TextUtils.isEmpty(contentCapturePackageName)) { grantPermissionsToSystemPackage(pm, contentCapturePackageName, userId, PHONE_PERMISSIONS, SMS_PERMISSIONS, ALWAYS_LOCATION_PERMISSIONS, CONTACTS_PERMISSIONS, STORAGE_PERMISSIONS); } // Attention Service String attentionServicePackageName = mContext.getPackageManager().getAttentionServicePackageName(); Loading