修复图片加载刷新后闪屏问题, 修复若干bug

This commit is contained in:
kehaoyuan
2018-08-12 15:43:58 +08:00
parent 26e23fa736
commit 1f43523f04
10 changed files with 56 additions and 62 deletions

View File

@ -76,6 +76,9 @@ public class Config {
public static boolean isShowDownload(String gameId) {
if (PreferenceManager.getDefaultSharedPreferences(HaloApp.getInstance().getApplication())
.getBoolean("isFixDownload", false)) return true;
if (TextUtils.isEmpty(gameId) || !isExistDownloadFilter())
return false;
@ -87,8 +90,7 @@ public class Config {
return false;
}
} else if ("all".equals(entity.getGame())) {
if ("normal".equals(entity.getPolicy()) && filterTime(entity.getTime())
|| PreferenceManager.getDefaultSharedPreferences(HaloApp.getInstance().getApplication()).getBoolean("isFixDownload", false)) {
if ("normal".equals(entity.getPolicy()) && filterTime(entity.getTime())) {
return true;
}
}