Revert "Remove REVIEW_REQUIRED from droidfooder phones"
This reverts commit 618578e8cb.
Reason for revert: merged through droidfood weekly
Change-Id: I902489ca2cfa488889912515524c118745849a5a
This commit is contained in:
@@ -2800,14 +2800,12 @@ public class PermissionManagerServiceImpl implements PermissionManagerServiceInt
|
||||
}
|
||||
|
||||
// Remove review flag as it is not necessary anymore
|
||||
// TODO(b/227186603) re-enable check for notification permission once
|
||||
// droidfood state has been cleared
|
||||
//if (!NOTIFICATION_PERMISSIONS.contains(perm)) {
|
||||
if (!NOTIFICATION_PERMISSIONS.contains(perm)) {
|
||||
if ((flags & FLAG_PERMISSION_REVIEW_REQUIRED) != 0) {
|
||||
flags &= ~FLAG_PERMISSION_REVIEW_REQUIRED;
|
||||
wasChanged = true;
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
if ((flags & FLAG_PERMISSION_REVOKED_COMPAT) != 0
|
||||
&& !isPermissionSplitFromNonRuntime(permName,
|
||||
|
||||
Reference in New Issue
Block a user