修复崩溃

Signed-off-by: 董宏宇 <martindhy@gmail.com>
This commit is contained in:
董宏宇
2021-10-21 16:11:50 +08:00
parent 5e2c5cd0f5
commit e5f3b75f0d
2 changed files with 2 additions and 3 deletions

View File

@@ -30,7 +30,5 @@ interface IMoGoFunctionProvider : IProvider {
/**
* 功能销毁回调
*/
fun onDestroy() {
Log.d("IMoGoFunctionProvider", "onDestroy")
}
fun onDestroy()
}

View File

@@ -200,6 +200,7 @@ public class IdentifyDataDrawer extends BaseDrawer {
Log.d(TAG, "ADAS动画数据 cost : " + cost);
final long intervalRef = interval - cost;
Log.d(TAG, "ADAS动画数据 最终赋值 : " + intervalRef + " 两帧间隔 : " + interval + " uuid : " + recognizedListResult.getUuid());
marker.addDynamicAnchorPosition(renderLoc, (float) recognizedListResult.getHeading(), intervalRef);
String carColor = getModelRenderColor(recognizedListResult.getType().getType(), FROM_ADAS, recognizedListResult.getThreatLevel());
marker.setAnchorColor(carColor);