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

Commit 6d46d7f1 authored by Chris Sabotta's avatar Chris Sabotta Committed by Automerger Merge Worker
Browse files

Revert "RESTRICT AUTOMERGE Validate permission tree size on perm..." am: b3fea7d1

parents 19a62f65 b3fea7d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -942,8 +942,8 @@ public class PermissionManagerService {
            BasePermission bp = mSettings.getPermissionLocked(info.name);
            added = bp == null;
            int fixedLevel = PermissionInfo.fixProtectionLevel(info.protectionLevel);
            enforcePermissionCapLocked(info, tree);
            if (added) {
                enforcePermissionCapLocked(info, tree);
                bp = new BasePermission(info.name, tree.getSourcePackageName(),
                        BasePermission.TYPE_DYNAMIC);
            } else if (!bp.isDynamic()) {