修复历史版本的下载路径上报异常问题

This commit is contained in:
chenjuntao
2020-05-21 14:48:10 +08:00
parent 60c84153e5
commit cf0e237529
6 changed files with 15 additions and 6 deletions

View File

@ -3,6 +3,7 @@ package com.gh.common.util;
import android.content.Context;
import android.os.Build;
import com.gh.common.constant.Constants;
import com.gh.gamecenter.entity.GameEntity;
import com.gh.gamecenter.entity.NewsDetailEntity;
import com.gh.gamecenter.manager.DataCollectionManager;
@ -32,7 +33,7 @@ public class DataCollectionUtils {
public static void uploadDownload(Context context, DownloadEntity downloadEntity, String status) {
Map<String, Object> map = new HashMap<>();
map.put("game", downloadEntity.getName());
map.put("game_id", downloadEntity.getGameId());
map.put("game_id", downloadEntity.getRealGameId(Constants.GAME_ID_DIVIDER));
if (downloadEntity.isPluggable()) {
map.put("method", "插件化");
map.put("btn_status", "插件化");