This commit is contained in:
huangzhuanghua
2016-09-09 18:23:54 +08:00
parent 5316164f00
commit f858ba0b70
58 changed files with 1038 additions and 1874 deletions

View File

@ -25,7 +25,6 @@ import com.gh.gamecenter.MainActivity;
import com.gh.gamecenter.R;
import com.gh.gamecenter.entity.ApkEntity;
import com.gh.gamecenter.entity.GameEntity;
import com.gh.gamecenter.eventbus.EBRedDot;
import com.gh.gamecenter.manager.DataCollectionManager;
import com.gh.gamecenter.manager.PackageManager;
@ -34,8 +33,6 @@ import java.util.List;
import java.util.Map;
import java.util.concurrent.LinkedBlockingQueue;
import de.greenrobot.event.EventBus;
public class DownloadItemUtils {
// 初始化gameMap
@ -557,7 +554,6 @@ public class DownloadItemUtils {
downloadBtn.setText("下载中");
downloadBtn.setBackgroundResource(R.drawable.game_item_btn_downloading_style);
downloadBtn.setTextColor(btn_sl);
EventBus.getDefault().post(new EBRedDot(1));
DownloadManager.getInstance(context).putStatus(entity.getApk().get(0).getUrl(), "downloading");
} else {
@ -627,7 +623,6 @@ public class DownloadItemUtils {
downloadBtn.setText("下载中");
downloadBtn.setBackgroundResource(R.drawable.game_item_btn_downloading_style);
downloadBtn.setTextColor(btn_sl);
EventBus.getDefault().post(new EBRedDot(1));
DownloadManager.getInstance(context).putStatus(entity.getApk().get(0).getUrl(), "downloading");
} else {