数据收集createdOn时间获取修改、添加game_id字段(在有game字段的地方)
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user