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

Commit a9bf115c authored by Ye Wen's avatar Ye Wen Committed by android-build-merger
Browse files

Merge "Allow user to change AiAi's permissions." into pi-dev am: 80f04816

am: a97e688d

Change-Id: I7b503e6d380330932a6b620fcf142926e358c835
parents 5cbad094 a97e688d
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);
            }
        }