下载管理-游戏更新接入PackageViewModel
重构PackageManager相关
This commit is contained in:
@ -135,7 +135,7 @@ public class UpdateManager {
|
||||
gameUpdateEntity.setUrl(appEntity.getUrl());
|
||||
gameUpdateEntity.setPlatform("官方版");
|
||||
gameUpdateEntity.setId(mContext.getString(R.string.ghzs_id));
|
||||
PackageManager.INSTANCE.addUpdate(0, gameUpdateEntity);
|
||||
// PackageManager.INSTANCE.addUpdate(0, gameUpdateEntity); // todo 直接添加?
|
||||
|
||||
if (isCheck) {
|
||||
if (appEntity.isForce()) {
|
||||
|
||||
Reference in New Issue
Block a user