diff --git a/modules/mogo-module-share/src/main/java/com/mogo/module/share/strategyreceiver/BlockStrategy.kt b/modules/mogo-module-share/src/main/java/com/mogo/module/share/strategyreceiver/BlockStrategy.kt index fc431dc621..8786930973 100644 --- a/modules/mogo-module-share/src/main/java/com/mogo/module/share/strategyreceiver/BlockStrategy.kt +++ b/modules/mogo-module-share/src/main/java/com/mogo/module/share/strategyreceiver/BlockStrategy.kt @@ -142,7 +142,7 @@ class BlockStrategy(private val context: Context, private val apis: IMogoService } val ave = sum / speedCacheList.size Logger.d(TAG, "平均速度为: $ave") - blockFromSpeed = true + blockFromSpeed = ave <= 10 // 上报平均速度 val location = ServiceApisManager.serviceApis.mapServiceApi.getSingletonLocationClient(context).lastKnowLocation latLonFromSpeed = MogoLatLng(location.latitude, location.longitude)