[Change]
增加限速监听 CallLimitingVelocityListenerManager.addListener(LimitingVelocityListener) Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -3,6 +3,7 @@ package com.mogo.eagle.core.function.v2x.speedlimit;
|
||||
import android.location.Location;
|
||||
|
||||
import com.mogo.eagle.core.function.call.hmi.CallerHmiManager;
|
||||
import com.mogo.eagle.core.function.call.v2x.CallLimitingVelocityListenerManager;
|
||||
import com.mogo.eagle.core.utilcode.util.UiThreadHandler;
|
||||
import com.mogo.map.navi.IMogoCarLocationChangedListener2;
|
||||
import com.mogo.module.common.MogoApisHandler;
|
||||
@@ -39,6 +40,7 @@ public class SpeedLimitDataManager implements IMogoCarLocationChangedListener2 {
|
||||
public void run() {
|
||||
if (speedLimmit > 0) {
|
||||
CallerHmiManager.INSTANCE.showLimitingVelocity(speedLimmit);
|
||||
CallLimitingVelocityListenerManager.INSTANCE.invokeOnLimitingVelocityChange(speedLimmit);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user