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

Commit f5b1c57b authored by Yi-an Chen's avatar Yi-an Chen Committed by Automerger Merge Worker
Browse files

Merge "Fix security vulnerability of non-dynamic permission removal" into sc-dev am: 9ebd148a

parents 4019f500 9ebd148a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -687,7 +687,7 @@ public class PermissionManagerService extends IPermissionManager.Stub {
            if (bp == null) {
                return;
            }
            if (bp.isDynamic()) {
            if (!bp.isDynamic()) {
                // TODO: switch this back to SecurityException
                Slog.wtf(TAG, "Not allowed to modify non-dynamic permission "
                        + permName);