光环助手V3.6.1 RELEASE(20190128-1200)测试问题汇总(2.4) https://gitlab.ghzhushou.com/pm/halo-app-issues/issues/443
This commit is contained in:
@ -14,7 +14,6 @@ import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.gh.common.constant.Config;
|
||||
import com.gh.common.constant.ItemViewType;
|
||||
import com.gh.common.util.ApkActiveUtils;
|
||||
import com.gh.common.util.BitmapUtils;
|
||||
@ -37,7 +36,6 @@ import com.gh.gamecenter.adapter.viewholder.GameNormalSwipeViewHolder;
|
||||
import com.gh.gamecenter.entity.ApkEntity;
|
||||
import com.gh.gamecenter.entity.GameEntity;
|
||||
import com.gh.gamecenter.entity.GameInstall;
|
||||
import com.gh.gamecenter.entity.SettingsEntity;
|
||||
import com.gh.gamecenter.kuaichuan.FileInfo;
|
||||
import com.gh.gamecenter.retrofit.Response;
|
||||
import com.gh.gamecenter.retrofit.RetrofitManager;
|
||||
@ -101,18 +99,6 @@ public class InstallFragmentAdapter extends BaseRecyclerAdapter<ViewHolder> {
|
||||
}
|
||||
|
||||
public void initData(List<GameInstall> list) {
|
||||
SettingsEntity settings = Config.getSettings();
|
||||
if (settings != null) {
|
||||
for (String pkgName : settings.getGameDownloadBlackList()) {
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
GameInstall gameInstall = list.get(i);
|
||||
if (gameInstall.getPackageName().equals(pkgName)) {
|
||||
list.remove(gameInstall);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (GameInstall gameInstall : list) {
|
||||
Object gh_id = PackageUtils.getMetaData(mContext, gameInstall.getPackageName(), "gh_id");
|
||||
if (gh_id != null && !gh_id.equals(gameInstall.getId())) {
|
||||
|
||||
Reference in New Issue
Block a user