You'll notice
Bug fix: remote-control permission check was reading the wrong variable
What
The check for the allow_remote_control policy was rewritten as a switch statement over the correct, properly-scoped variable, replacing a reference to a different, apparently mistakenly-named variable that looks like it was a leftover typo or scoping bug.
Why
This fixes a bug that could have caused the remote-control permission check to evaluate against the wrong value, potentially misjudging whether remote control should be allowed.