Small fix debug info

pull/217/head
M66B 6 months ago
parent 33972b631e
commit 27c6a6cc8a

@ -540,10 +540,9 @@ public class DebugHelper {
WebViewEx.isFeatureSupported(context, WebViewFeature.ALGORITHMIC_DARKENING)));
try {
PackageInfo pkg = WebViewCompat.getCurrentWebViewPackage(context);
sb.append(String.format("WebView %d/%s has=%b\r\n",
sb.append(String.format("WebView %d/%s\r\n",
pkg == null ? -1 : pkg.versionCode,
pkg == null ? null : pkg.versionName,
Helper.hasWebView(context)));
pkg == null ? null : pkg.versionName));
} catch (Throwable ex) {
sb.append(ex).append("\r\n");
}

Loading…
Cancel
Save