事件只展示不播报设置
This commit is contained in:
@@ -375,6 +375,7 @@ public class TanluListWindow extends RelativeLayout implements IMogoMarkerClickL
|
||||
V2XRoadEventEntity roadEventEntity = new V2XRoadEventEntity();
|
||||
roadEventEntity.setNoveltyInfo(exploreWay);
|
||||
roadEventEntity.setPoiType(exploreWay.getPoiType());
|
||||
roadEventEntity.setOnlyShow(true);
|
||||
|
||||
roadEventEntity.setExpireTime(20000);
|
||||
//地理位置
|
||||
|
||||
@@ -89,7 +89,9 @@ public class V2XRoadEventScenario extends AbsV2XScenario<V2XRoadEventEntity> imp
|
||||
try {
|
||||
if (getV2XMessageEntity() != null && getV2XMessageEntity().getContent() != null) {
|
||||
//只展示不播报 不广播
|
||||
|
||||
boolean onlyShow = getV2XMessageEntity().isOnlyShow();
|
||||
|
||||
if (onlyShow == false){
|
||||
// 设置TTS
|
||||
getV2XMessageEntity().getContent().getTts(false);
|
||||
|
||||
Reference in New Issue
Block a user