Merge "Remove REVIEW_REQUIRED from droidfooder phones" into tm-dev

This commit is contained in:
Nate Myren
2022-04-20 19:49:09 +00:00
committed by Android (Google) Code Review

View File

@@ -2808,12 +2808,14 @@ public class PermissionManagerServiceImpl implements PermissionManagerServiceInt
} }
// Remove review flag as it is not necessary anymore // Remove review flag as it is not necessary anymore
if (!NOTIFICATION_PERMISSIONS.contains(perm)) { // TODO(b/227186603) re-enable check for notification permission once
// droidfood state has been cleared
//if (!NOTIFICATION_PERMISSIONS.contains(perm)) {
if ((flags & FLAG_PERMISSION_REVIEW_REQUIRED) != 0) { if ((flags & FLAG_PERMISSION_REVIEW_REQUIRED) != 0) {
flags &= ~FLAG_PERMISSION_REVIEW_REQUIRED; flags &= ~FLAG_PERMISSION_REVIEW_REQUIRED;
wasChanged = true; wasChanged = true;
} }
} //}
if ((flags & FLAG_PERMISSION_REVOKED_COMPAT) != 0 if ((flags & FLAG_PERMISSION_REVOKED_COMPAT) != 0
&& !isPermissionSplitFromNonRuntime(permName, && !isPermissionSplitFromNonRuntime(permName,