Index: remoting/android/java/src/org/chromium/chromoting/SessionConnector.java |
diff --git a/remoting/android/java/src/org/chromium/chromoting/SessionConnector.java b/remoting/android/java/src/org/chromium/chromoting/SessionConnector.java |
index a1f8a5b65b6954ad4fdd3e1209528ce13f90aba1..4d52ef683c98f5b4fb0bc97757a6c08ae79d7095 100644 |
--- a/remoting/android/java/src/org/chromium/chromoting/SessionConnector.java |
+++ b/remoting/android/java/src/org/chromium/chromoting/SessionConnector.java |
@@ -65,8 +65,8 @@ public class SessionConnector implements JniInterface.ConnectionListener, |
@Override |
public void onConnectionState(JniInterface.ConnectionListener.State state, |
JniInterface.ConnectionListener.Error error) { |
- if (state == JniInterface.ConnectionListener.State.FAILED && |
- error == JniInterface.ConnectionListener.Error.PEER_IS_OFFLINE) { |
+ if (state == JniInterface.ConnectionListener.State.FAILED |
+ && error == JniInterface.ConnectionListener.Error.PEER_IS_OFFLINE) { |
// The host is offline, which may mean the JID is out of date, so refresh the host list |
// and try to connect again. |
reloadHostListAndConnect(); |