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

Commit d73a8bae authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Revert "Reset SYSTEM_FIXED flags for hard restricted perms"

This reverts commit 3c2731fd.

Reason for revert: This was only needed to unbreak internal dogfooding

Test: This is a clean revert
Bug: 134161027
Change-Id: I309bc5158190da71fc0ba867a5d15c6260623ed5
parent 3c2731fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1173,7 +1173,7 @@ public class PermissionManagerService {
                                    }
                                }

                                if (hardRestricted
                                if (hardRestricted && !restrictionExempt
                                        && (flags & FLAG_PERMISSION_SYSTEM_FIXED) != 0) {
                                    // Applying a hard restriction implies revoking it. This might
                                    // lead to a system-fixed, revoked permission.