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

Commit caf3e956 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

Merge "Reset SYSTEM_FIXED flags for hard restricted perms" into qt-dev

am: 164404bf

Change-Id: Ic90c9565ab1bf3ee102ee787d471885c4870e9e3
parents e31753db 164404bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1173,7 +1173,7 @@ public class PermissionManagerService {
                                    }
                                }

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