Small fix debug info

This commit is contained in:
M66B
2025-03-12 07:29:56 +01:00
parent 33972b631e
commit 27c6a6cc8a

View File

@@ -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");
}