bug fix: 获取不到前车距离
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user