fix: 部分机型帖子展示空白 https://jira.shanqu.cc/browse/GHZS-954

This commit is contained in:
叶子维
2023-01-09 12:02:32 +08:00
parent f19a687eee
commit ba49c9aa25
2 changed files with 2 additions and 1 deletions

View File

@ -1017,7 +1017,7 @@ public class PackageUtils {
public static boolean checkWebViewIsAvailable(Context context) {
List<String> webViewAbiList = HaloApp.getInstance().getWebViewAbiList();
if (webViewAbiList != null) {
if (!webViewAbiList.isEmpty()) {
if (webViewAbiList.size() == 2 && webViewAbiList.contains("x86") && webViewAbiList.contains("x86_64")) {
return true;
}