add log to test

This commit is contained in:
zhongchao
2022-10-10 11:11:30 +08:00
parent 820a3517e3
commit 7212e2de56
2 changed files with 4 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ package com.mogo.eagle.core.function.map.identify;
import android.annotation.SuppressLint;
import android.os.Build;
import android.text.TextUtils;
import android.util.Log;
import androidx.annotation.RequiresApi;
@@ -109,6 +110,7 @@ public class TrackManager {
if (data.getColor() != null && !data.getColor().isEmpty()) {
cache = cache.toBuilder().setColor(data.getColor()).build();
}
Log.i("EmArrow1009","感知物重新赋值, cache type : " +cache.getType() + " , data type :" + data.getType());
data = cache;
}
}

View File

@@ -3,6 +3,7 @@ package com.mogo.map;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Point;
import android.util.Log;
import android.util.Pair;
import com.mogo.eagle.core.data.config.FunctionBuildConfig;
@@ -116,6 +117,7 @@ public class AMapWrapper implements IMogoMap {
optionsArrayList.forEach((s, trackedObject) -> {
MarkerSimpleData markerOptions = ObjectUtils.fromTrafficData(trackedObject);
if (markerOptions != null) {
Log.i("EmArrow1009","markerOpt : " + markerOptions.toString());
markerOptionsArrayList.add(markerOptions);
}
});