Skip to content

Commit dd99bf2

Browse files
author
tzihan
committed
Fix bug: 443369 - Some connection status is not set appropriately
the 'disconnected' and 'isConnecting' initialized status is not set correctly. bug:443369 Change-Id: I679eea16cff53fbb9f59b72c57686358c56b94c7 Signed-off-by: tzihan <zhtang@cn.ibm.com>
1 parent 3c3e02c commit dd99bf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • org.eclipse.paho.android.service/org.eclipse.paho.android.service/src/org/eclipse/paho/android/service

org.eclipse.paho.android.service/org.eclipse.paho.android.service/src/org/eclipse/paho/android/service/MqttConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public void setClientHandle(String clientHandle) {
118118
// our (parent) service object
119119
private MqttService service = null;
120120

121-
private volatile boolean disconnected = false;
121+
private volatile boolean disconnected = true;
122122
private boolean cleanSession = true;
123123

124124
// Indicate this connection is connecting or not.

0 commit comments

Comments
 (0)