Merge branch 'qa_1.1' into dev_1.1.2

This commit is contained in:
董宏宇
2020-07-28 17:18:03 +08:00

View File

@@ -88,6 +88,20 @@ public class V2XRoadEventScenario extends AbsV2XScenario<V2XRoadEventEntity> imp
if (V2XServiceManager.getMoGoStatusManager().isMainPageLaunched()) {
showWindow();
}
// 地图主动推送/触发消息 埋点
String poiType = mV2XMessageEntity.getContent().getPoiType();
String lat = String.valueOf(mV2XMessageEntity.getContent().getLocation().getLat());
String lon = String.valueOf(mV2XMessageEntity.getContent().getLocation().getLon());
String infoId = mV2XMessageEntity.getContent().getNoveltyInfo().getInfoId();
String style = V2XServiceManager.getMoGoStatusManager().isMainPageOnResume() ? "1" : "2";
Map<String, Object> properties = new HashMap<>();
properties.put("dbid", infoId);
properties.put("type", poiType);
properties.put("lng", lon);
properties.put("lat", lat);
properties.put("style", style);
V2XServiceManager.getMogoAnalytics().track(V2XConst.V2X_ROAD_SHOW, properties);
}
}
@@ -122,19 +136,7 @@ public class V2XRoadEventScenario extends AbsV2XScenario<V2XRoadEventEntity> imp
V2XServiceManager.getMoGoV2XStatusManager().setRoadEventWindowShow(TAG, true);
}
// 地图主动推送/触发消息 埋点
String poiType = mV2XMessageEntity.getContent().getPoiType();
String lat = String.valueOf(mV2XMessageEntity.getContent().getLocation().getLat());
String lon = String.valueOf(mV2XMessageEntity.getContent().getLocation().getLon());
String infoId = mV2XMessageEntity.getContent().getNoveltyInfo().getInfoId();
String style = V2XServiceManager.getMoGoStatusManager().isMainPageOnResume() ? "1" : "2";
Map<String, Object> properties = new HashMap<>();
properties.put("dbid", infoId);
properties.put("type", poiType);
properties.put("lng", lon);
properties.put("lat", lat);
properties.put("style", style);
V2XServiceManager.getMogoAnalytics().track(V2XConst.V2X_ROAD_SHOW, properties);
}
@Override