bug fix: 获取不到前车距离

This commit is contained in:
tongchenfei
2021-01-12 16:48:47 +08:00
parent bc2d4f0d28
commit 0d1d875fe2
2 changed files with 2 additions and 3 deletions

View File

@@ -212,7 +212,7 @@ class BlockStrategy(private val context: Context, private val apis: IMogoService
return
}
if (blockFromSpeed && speedNormalCount < 5) {
Logger.d(TAG, "按速度策略上报早高峰")
Logger.d(TAG, "按速度策略上报一般时段")
SharedPrefsMgr.getInstance(context).putInt(SPEED_NORMAL_COUNT, speedNormalCount + 1)
p.location = latLonFromSpeed
apis.tanluApi.uploadRoadCondition(p)