修复时间判断的单位不一致错误

hdrplus
Matthew 11 months ago
parent 4e7d40f52b
commit f36c084708

@ -625,7 +625,7 @@ public class MpMasterService extends Service {
} }
} }
if (zeroPoint + closestTime > currentTimeMs + mMpHeartbeatDuration * 60000) { if (zeroPoint + closestTime * 1000 > currentTimeMs + mMpHeartbeatDuration * 60000) {
keepAlive = true; keepAlive = true;
registerHeartbeatTimer(currentTimeMs + timeout * 1000, keepAlive); registerHeartbeatTimer(currentTimeMs + timeout * 1000, keepAlive);
} else { } else {

Loading…
Cancel
Save