opt adas callback

This commit is contained in:
tongchenfei
2021-01-26 18:47:22 +08:00
parent 49874015aa
commit 41a1c60718
2 changed files with 5 additions and 11 deletions

View File

@@ -354,7 +354,9 @@ public class MogoADASController implements IMogoADASController {
@Override
public void notifyAutopilotState(AdasAIDLAutopilotStateModel autopilotStateModel) {
if (mAdasOCHCallback != null) {
mAdasOCHCallback.onStateChanged(autopilotStateModel.getState(), autopilotStateModel.getReason());
}
}
};
AutopilotServiceManage.getInstance().registerAutopilotDataListener( mAutopolitDataCallBack );