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

Commit 618578e8 authored by Nate Myren's avatar Nate Myren
Browse files

Remove REVIEW_REQUIRED from droidfooder phones

Pixels no longer have the REVIEW_REQUIRED flag set. Droidfooders need
the flag removed from their devices.

Bug: 227186603
Test: manual
Change-Id: I024bb6ebac5dbc589a20b17117b891d2c7e0f1a7
parent 29a39d8d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2800,12 +2800,14 @@ public class PermissionManagerServiceImpl implements PermissionManagerServiceInt
                            }

                            // 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) {
                                    flags &= ~FLAG_PERMISSION_REVIEW_REQUIRED;
                                    wasChanged = true;
                                }
                            }
                            //}

                            if ((flags & FLAG_PERMISSION_REVOKED_COMPAT) != 0
                                    && !isPermissionSplitFromNonRuntime(permName,