修复曝光下载完成事件里 payload 没有游戏 id 的问题
This commit is contained in:
@ -429,7 +429,11 @@ public class MainActivity extends BaseActivity {
|
||||
"网络状态", DeviceUtils.getNetwork(HaloApp.getInstance().getApplication()));
|
||||
}
|
||||
|
||||
ExposureUtils.logADownloadCompleteExposureEvent(new GameEntity(downloadEntity.getGameId()), downloadEntity.getPlatform(), downloadEntity.getExposureTrace(), type);
|
||||
ExposureUtils.logADownloadCompleteExposureEvent(
|
||||
new GameEntity(downloadEntity.getGameId(), downloadEntity.getName()),
|
||||
downloadEntity.getPlatform(),
|
||||
downloadEntity.getExposureTrace(),
|
||||
type);
|
||||
|
||||
DataCollectionUtils.uploadDownload(this, downloadEntity, "完成");
|
||||
}
|
||||
|
||||
@ -458,6 +458,7 @@ class GameUpdateFragmentAdapter extends BaseRecyclerAdapter<ViewHolder> {
|
||||
DataUtils.onEvent(mContext, "游戏更新", updateEntity.getName(), kv);
|
||||
|
||||
DownloadEntity downloadEntity = new DownloadEntity();
|
||||
downloadEntity.setGameId(updateEntity.getId());
|
||||
downloadEntity.setUrl(updateEntity.getUrl());
|
||||
downloadEntity.setName(updateEntity.getName());
|
||||
downloadEntity.setPath(FileUtils.getDownloadPath(mContext,
|
||||
|
||||
Reference in New Issue
Block a user