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

Commit 89c545f4 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 tm-dev

parents 2ae19061 528a87e9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -678,6 +678,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);
        }