Toggling remote control now carries pending permission prompts over to the new session instead of losing them.
What's wrong with this entry?
Handling of the remote_control control request is now wrapped in a single async operation with its own error handling, and it hands off state to the newly created remote session instead of dropping it.
- Old session is torn down only after its callbacks are cleared.
- Pending permission requests and pending user-dialog requests are replayed to the new remote session.
- The initial name supplied in the request is preserved across the swap.
getPendingUserDialogRequests()
Strings lifted out of the shipped bundle, so the claim above can be checked against them.