Merge "Remove REVIEW_REQUIRED from droidfooder phones" into tm-dev am: 1a292f9dbe
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17575425 Change-Id: I86dd2834b04dd06bded92709d2f11251c6e31836 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user