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

Commit 422a83de authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Default grant mic, storage, camera to SMS app" into oc-dev

parents 81e8d4b3 1a99d36d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -724,6 +724,9 @@ final class DefaultPermissionGrantPolicy {
            grantRuntimePermissionsLPw(smsPackage, PHONE_PERMISSIONS, userId);
            grantRuntimePermissionsLPw(smsPackage, CONTACTS_PERMISSIONS, userId);
            grantRuntimePermissionsLPw(smsPackage, SMS_PERMISSIONS, userId);
            grantRuntimePermissionsLPw(smsPackage, STORAGE_PERMISSIONS, userId);
            grantRuntimePermissionsLPw(smsPackage, MICROPHONE_PERMISSIONS, userId);
            grantRuntimePermissionsLPw(smsPackage, CAMERA_PERMISSIONS, userId);
        }
    }

@@ -737,6 +740,9 @@ final class DefaultPermissionGrantPolicy {
            grantRuntimePermissionsLPw(smsPackage, PHONE_PERMISSIONS, false, true, userId);
            grantRuntimePermissionsLPw(smsPackage, CONTACTS_PERMISSIONS, false, true, userId);
            grantRuntimePermissionsLPw(smsPackage, SMS_PERMISSIONS, false, true, userId);
            grantRuntimePermissionsLPw(smsPackage, STORAGE_PERMISSIONS, false, true, userId);
            grantRuntimePermissionsLPw(smsPackage, MICROPHONE_PERMISSIONS, false, true, userId);
            grantRuntimePermissionsLPw(smsPackage, CAMERA_PERMISSIONS, false, true, userId);
        }
    }