修复社区选择排序问题
This commit is contained in:
@ -2,6 +2,7 @@ package com.gh.gamecenter.qa.select
|
||||
|
||||
import android.app.Application
|
||||
import com.gh.common.AppExecutor
|
||||
import com.gh.common.util.PackageHelper
|
||||
import com.gh.common.util.UrlFilterUtils
|
||||
import com.gh.gamecenter.baselist.ListViewModel
|
||||
import com.gh.gamecenter.packagehelper.PackageRepository
|
||||
@ -24,7 +25,8 @@ class OpenedViewModel(application: Application) : ListViewModel<AskGameSelectEnt
|
||||
for (game in selectList) {
|
||||
var thisGameIsInstalled = false
|
||||
for (installGame in PackageRepository.gameInstalled) {
|
||||
if (installGame.id == game.game.id) {
|
||||
if (installGame.id == game.game.id
|
||||
&& !PackageHelper.downloadPackageNameBlackList.contains(installGame.packageName)) {
|
||||
thisGameIsInstalled = true
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user