增加疑似拥堵上报埋点
This commit is contained in:
@@ -141,6 +141,8 @@ class BlockStrategy(private val context: Context, private val apis: IMogoService
|
||||
val p = TanluUploadParams(IMogoTanluProvider.TYPE_BLOCK, IMogoTanluProvider.UPLOAD_FROM_STRATEGY_BLOCK_AUTO)
|
||||
val latLon = MogoLatLng(lat, lon)
|
||||
p.location = latLon
|
||||
// 疑似拥堵埋点上报
|
||||
apis.analyticsApi.track("v2x_share_autoUpload", mapOf("type" to 1))
|
||||
apis.tanluApi.uploadRoadCondition(p)
|
||||
} else {
|
||||
Logger.d(TAG, "根据距离,没有判定为拥堵, tripDistance: $tripDistance, frontDistance: $frontDistance, currentSpeed: $currentSpeed")
|
||||
|
||||
Reference in New Issue
Block a user