整理
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user