[清扫车][merge]: 合并清扫车司机端V1.0.0代码时,对比master分支代码,reset 无关的代码修改;

This commit is contained in:
aibingbing
2022-09-26 20:44:00 +08:00
parent 6a21e175b4
commit fa090ed8ba
3 changed files with 10 additions and 8 deletions

View File

@@ -1066,15 +1066,17 @@ public class MainActivity extends BaseActivity implements OnAdasListener, OnAdas
}
connectStatus = ipcConnectionStatus;
String status = onUpdateConnectStateView();
getHandler().sendEmptyMessage(WHAT_IPC_IP);
if (connectStatus == IPC_CONNECTION_STATUS.CONNECTED) {
getHandler().sendEmptyMessage(WHAT_IPC_IP);
String tem = getIPCIP();
if (!TextUtils.isEmpty(tem)) {
List<String> ips = Constants.getIpcUsedIps(this);
Constants.addIpcUsedIps(this, ips, tem);
}
} else if (connectStatus == IPC_CONNECTION_STATUS.DISCONNECTED) {
getHandler().sendEmptyMessage(WHAT_IPC_IP);
}
// LogSave.getInstance().saveLog("连接状态", status);
// CupidLogUtils.i(TAG, "connectStatus=" + status);
}