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

Commit 9ebd148a authored by Yi-an Chen's avatar Yi-an Chen Committed by Android (Google) Code Review
Browse files

Merge "Fix security vulnerability of non-dynamic permission removal" into sc-dev

parents eca6d61e 35d77a77
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);