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

Commit e6f86ad1 authored by Lynn Yeh's avatar Lynn Yeh Committed by Android (Google) Code Review
Browse files

Merge "Fix error handling for non-dynamic permissions" into 24D1-dev

parents d495cb3f f3cf6deb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -675,6 +675,7 @@ public class PermissionManagerServiceImpl implements PermissionManagerServiceInt
                // TODO: switch this back to SecurityException
                Slog.wtf(TAG, "Not allowed to modify non-dynamic permission "
                        + permName);
                return;
            }
            mRegistry.removePermission(permName);
        }