[Taxi passenger V1.1.0] IMogoServiceApis调用删除

This commit is contained in:
wangmingjun
2022-03-24 10:22:09 +08:00
parent 5d6add5af9
commit e1ccfc755c

View File

@@ -144,13 +144,13 @@ public class TaxiPassengerModel implements IOCHTaxiPassengerNaviChangedCallback
mContext = context.getApplicationContext();
initListeners();
IMogoServiceApis apis = MogoApisHandler.getInstance().getApis();
apis.getSocketManagerApi(mContext).init(mContext, DebugConfig.getSocketAppId());
// IMogoServiceApis apis = MogoApisHandler.getInstance().getApis();
// apis.getSocketManagerApi(mContext).init(mContext, DebugConfig.getSocketAppId());
// TODO: 2021/8/27 因需要通过此回调的location进行坐标上传暂改为全程监听退出后再反注册
// 待后续整体调整location获取来源
if (DebugConfig.getCarMachineType() != DebugConfig.CAR_MACHINE_TYPE_SELF_INNOVATE) {
apis.getLocationInfoApi().start();
}
// if (DebugConfig.getCarMachineType() != DebugConfig.CAR_MACHINE_TYPE_SELF_INNOVATE) {
// apis.getLocationInfoApi().start();
// }
startOrStopOrderLoop();
}