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

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

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

parents 5b695073 2b5d63b6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -691,6 +691,7 @@ public class PermissionManagerService extends IPermissionManager.Stub {
                // TODO: switch this back to SecurityException
                Slog.wtf(TAG, "Not allowed to modify non-dynamic permission "
                        + permName);
                return;
            }
            mRegistry.removePermission(permName);
        }