测试代码修改
字段名称修改 UI
This commit is contained in:
@@ -81,7 +81,7 @@ public class NoticeNetWorkManager {
|
||||
@Override
|
||||
public void onNext(@NonNull NoticeTrafficStyleInfo noticeTrafficStyleInfo) {
|
||||
Log.d(TAG, "onNext:"+noticeTrafficStyleInfo);
|
||||
if (noticeTrafficStyleInfo != null) {
|
||||
if (noticeTrafficStyleInfo.getResult().getAccidentInfo() != null) {
|
||||
callBack.callBackWithResult(noticeTrafficStyleInfo);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ class TestNoticeBroadcastReceiver : BroadcastReceiver() {
|
||||
val video: String = "https://view.2amok.com/20200219/012d8e2a55f227e90d76056bb6aab5e4.mp4"
|
||||
pushData.poiImgUrl = video
|
||||
pushData.type = 1
|
||||
pushData.infoId = "909821120032526336"
|
||||
pushData.infoId = "909754135789686784"
|
||||
CallerHmiManager.showTrafficBanner(pushData)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user