优化日志

Signed-off-by: 董宏宇 <martindhy@gmail.com>
This commit is contained in:
董宏宇
2021-10-19 21:39:09 +08:00
parent 198efe707b
commit 1d50be10ba
4 changed files with 7 additions and 18 deletions

View File

@@ -225,7 +225,6 @@ public class MogoADASController implements IMogoADASController {
mAdasDataListener = new IAdasDataListener() {
@Override
public void sendMsg(String msg) {
Logger.d(TAG, "adas AdasDataListener sendmsg " + msg);
for (IMogoAdasDataCallback callback : mAdasDataCallbackList) {
try {
callback.onAdasDataCallback(msg);
@@ -260,12 +259,10 @@ public class MogoADASController implements IMogoADASController {
@Override
public void autopilotArrive(AutopilotStationInfo autopilotArriveModel) {
Logger.d(TAG, "autopilotArriveModel " + autopilotArriveModel);
if (autopilotArriveModel == null) {
Logger.d(TAG, "autopilotArrive autopilotArriveModel is null");
return;
}
Logger.d(TAG, "autopilotArrive : " + autopilotArriveModel.toString());
if (!mAdasOCHCallback.isEmpty()) {
for (IMogoAdasOCHCallback cb : mAdasOCHCallback) {
cb.onArriveAt(new AutopilotStationInfo(
@@ -296,7 +293,6 @@ public class MogoADASController implements IMogoADASController {
@Override
public void ownerCarStateInfo(String ownerCarStateInfo) {
Logger.d(TAG, "ownerCarStateInfo " + ownerCarStateInfo);
Message message = mAdasLocationRecHandler.obtainMessage();
message.obj = ownerCarStateInfo;
message.sendToTarget();
@@ -304,7 +300,6 @@ public class MogoADASController implements IMogoADASController {
@Override
public void notifyAutopilotState(AutopilotStatusInfo autopilotStatus) {
Logger.d(TAG, "notifyAutopilotState: " + GsonUtil.jsonFromObject(autopilotStatus));
DebugConfig.setAutoPilotStatus(autopilotStatus.getState() + "");
if (!mAdasOCHCallback.isEmpty()) {