优化显示逻辑

This commit is contained in:
wangcongtao
2021-03-19 10:22:34 +08:00
parent 73bd8e771e
commit 6cce553987
3 changed files with 244 additions and 216 deletions

View File

@@ -86,6 +86,9 @@ class LogWriter {
}
public void write( Object log ) {
if ( log == null ) {
return;
}
Message msg = Message.obtain();
msg.obj = log;
msg.what = 100;

View File

@@ -123,6 +123,8 @@ public class MogoADASController implements IMogoADASController {
super.handleMessage( msg );
if ( msg.obj instanceof List ) {
mAutopolitDataCallBack.notifyOwnerCarRect( ( List< AdasAIDLOwnerCarRectModel > ) msg.obj );
} else if(msg.obj == null ){
mAutopolitDataCallBack.notifyOwnerCarRect( null );
}
}
};