fix: 修复检查设备 webview 状态时 webview 列表为空时的闪退
This commit is contained in:
@ -1017,7 +1017,7 @@ public class PackageUtils {
|
||||
public static boolean checkWebViewIsAvailable(Context context) {
|
||||
List<String> webViewAbiList = HaloApp.getInstance().getWebViewAbiList();
|
||||
|
||||
if (!webViewAbiList.isEmpty()) {
|
||||
if (webViewAbiList != null && !webViewAbiList.isEmpty()) {
|
||||
if (webViewAbiList.size() == 2 && webViewAbiList.contains("x86") && webViewAbiList.contains("x86_64")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user