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

Commit 17b6b34d authored by Eugene Susla's avatar Eugene Susla Committed by android-build-merger
Browse files

Merge "Revert "Fix DefaultPermissionGrantPolicyTest"" into pi-dev am: e0f55c35

am: 6fa2b213

Change-Id: I54c81e04d4791449aac39bff2a907bad46ed3004
parents 58f5f611 6fa2b213
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -833,11 +833,11 @@ public final class DefaultPermissionGrantPolicy {
                    getSystemPackage(textClassifierPackageName);
            if (textClassifierPackage != null
                    && doesPackageSupportRuntimePermissions(textClassifierPackage)) {
                grantRuntimePermissions(textClassifierPackage, PHONE_PERMISSIONS, true, userId);
                grantRuntimePermissions(textClassifierPackage, SMS_PERMISSIONS, true, userId);
                grantRuntimePermissions(textClassifierPackage, CALENDAR_PERMISSIONS, true, userId);
                grantRuntimePermissions(textClassifierPackage, LOCATION_PERMISSIONS, true, userId);
                grantRuntimePermissions(textClassifierPackage, CONTACTS_PERMISSIONS, true, userId);
                grantRuntimePermissions(textClassifierPackage, PHONE_PERMISSIONS, false, userId);
                grantRuntimePermissions(textClassifierPackage, SMS_PERMISSIONS, false, userId);
                grantRuntimePermissions(textClassifierPackage, CALENDAR_PERMISSIONS, false, userId);
                grantRuntimePermissions(textClassifierPackage, LOCATION_PERMISSIONS, false, userId);
                grantRuntimePermissions(textClassifierPackage, CONTACTS_PERMISSIONS, false, userId);
            }
        }