Merge "Allow user to change AiAi's permissions." into pi-dev
This commit is contained in:
@@ -833,11 +833,11 @@ public final class DefaultPermissionGrantPolicy {
|
|||||||
getSystemPackage(textClassifierPackageName);
|
getSystemPackage(textClassifierPackageName);
|
||||||
if (textClassifierPackage != null
|
if (textClassifierPackage != null
|
||||||
&& doesPackageSupportRuntimePermissions(textClassifierPackage)) {
|
&& doesPackageSupportRuntimePermissions(textClassifierPackage)) {
|
||||||
grantRuntimePermissions(textClassifierPackage, PHONE_PERMISSIONS, true, userId);
|
grantRuntimePermissions(textClassifierPackage, PHONE_PERMISSIONS, false, userId);
|
||||||
grantRuntimePermissions(textClassifierPackage, SMS_PERMISSIONS, true, userId);
|
grantRuntimePermissions(textClassifierPackage, SMS_PERMISSIONS, false, userId);
|
||||||
grantRuntimePermissions(textClassifierPackage, CALENDAR_PERMISSIONS, true, userId);
|
grantRuntimePermissions(textClassifierPackage, CALENDAR_PERMISSIONS, false, userId);
|
||||||
grantRuntimePermissions(textClassifierPackage, LOCATION_PERMISSIONS, true, userId);
|
grantRuntimePermissions(textClassifierPackage, LOCATION_PERMISSIONS, false, userId);
|
||||||
grantRuntimePermissions(textClassifierPackage, CONTACTS_PERMISSIONS, true, userId);
|
grantRuntimePermissions(textClassifierPackage, CONTACTS_PERMISSIONS, false, userId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user