update realTime

This commit is contained in:
zhongchao
2021-02-20 16:51:28 +08:00
parent e10b5f67f3
commit 3818e9a6d7
2 changed files with 4 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ MOGO_NETWORK_VERSION=1.0.20-SNAPSHOT
MOGO_HTTPDNS_VERSION=1.0.20-SNAPSHOT
MOGO_PASSPORT_VERSION=1.0.20-SNAPSHOT
MOGO_SOCKET_VERSION=1.0.21-SNAPSHOT
MOGO_REALTIME_VERSION=1.0.21-SNAPSHOT
MOGO_REALTIME_VERSION=1.0.22-SNAPSHOT
MOGO_TANLU_VERSION=1.0.20-SNAPSHOT
MOGO_LIVE_VERSION=1.0.20-SNAPSHOT
MOGO_TRAFFICLIVE_VERSION=1.0.20-SNAPSHOT

View File

@@ -102,11 +102,9 @@ public class SocketHandler {
receiveMsgTime = SystemClock.elapsedRealtime();
if (webSocketData.getUpUtcTime() > 0) {
long nextDelay = webSocketData.getUpUtcTime() - serverTime;
if (!MoGoAiCloudClient.getInstance().getAiCloudClientConfig().getIsUseExternalLocation()) {
for (IMogoCloudOnAckListener ackListener : onAckListenerList) {
if (ackListener != null) {
ackListener.onAck(nextDelay);
}
for (IMogoCloudOnAckListener ackListener : onAckListenerList) {
if (ackListener != null) {
ackListener.onAck(nextDelay);
}
}
}