数据收集createdOn时间获取修改、添加game_id字段(在有game字段的地方)

This commit is contained in:
huangzhuanghua
2016-09-14 11:43:39 +08:00
parent 405056cbd3
commit 1acf79baae
35 changed files with 228 additions and 246 deletions

View File

@ -1035,6 +1035,7 @@ public class DownloadDialog {
Map<String, Object> map = new HashMap<>();
map.put("game", gameName);
map.put("game_id", gameId);
map.put("method", "插件化");
map.put("platform", PlatformUtils.getInstance(context)
.getPlatformName(apkEntity.getPlatform()));
@ -1042,7 +1043,6 @@ public class DownloadDialog {
map.put("location", mlocation);
map.put("from", entrance);
map.put("network", NetworkUtils.getConnectedType(context));
map.put("createdOn", System.currentTimeMillis() / 1000);
DataCollectionManager.onEvent(context, "download", map);
DownloadEntity downloadEntity = new DownloadEntity();
@ -1124,6 +1124,7 @@ public class DownloadDialog {
Map<String, Object> map = new HashMap<>();
map.put("game", gameName);
map.put("game_id", gameId);
map.put("method", "正常");
map.put("platform", PlatformUtils.getInstance(context)
.getPlatformName(apkEntity.getPlatform()));
@ -1131,7 +1132,6 @@ public class DownloadDialog {
map.put("location", mlocation);
map.put("from", entrance);
map.put("network", NetworkUtils.getConnectedType(context));
map.put("createdOn", System.currentTimeMillis() / 1000);
DataCollectionManager.onEvent(context, "download", map);
DownloadEntity downloadEntity = new DownloadEntity();