DescriptionAndroid Chromoting: Don't auto-reconnect if connection was established.
If the Linux host is killed (due to changing PIN or other reason), the
Android client sees that the connection has failed with error
PEER_IS_OFFLINE. This is the same error that would occur if the JID
were stale, which the client normally handles by auto-reloading the
host-list and reconnecting. But since the session was already
connected, the Desktop activity does not properly get torn down and
re-initialized (which is something to address at a future date).
This CL fixes the linked bug by ensuring that the automatic reload does
not happen after a successful connection.
BUG=424759
Committed: https://crrev.com/95543b346a8712aa97226a5201d9c1df0ce34807
Cr-Commit-Position: refs/heads/master@{#316686}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|