From 50a3206d433e28242dc8fe832b70eef074f38fb9 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Mon, 3 Aug 2026 10:50:25 +0200 Subject: [PATCH] Do not compare strings with == The == operator compares references, and could indeed return true even if contents match. Replace it by equals which in the case of Strings compares contents. --- .../com/igalia/wolvic/browser/api/impl/RuntimeImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/common/chromium/com/igalia/wolvic/browser/api/impl/RuntimeImpl.java b/app/src/common/chromium/com/igalia/wolvic/browser/api/impl/RuntimeImpl.java index 10b867e5bc..d83db4fae0 100644 --- a/app/src/common/chromium/com/igalia/wolvic/browser/api/impl/RuntimeImpl.java +++ b/app/src/common/chromium/com/igalia/wolvic/browser/api/impl/RuntimeImpl.java @@ -196,7 +196,7 @@ private void initBrowserProcess(Context context) { // window.outerWidth/Height -- so the panel value shrinks the video. The view (surface) // bounds are the correct "window" bounds for us (the pre-M14x behaviour). String disableFeatures = "AndroidUseCorrectWindowBounds"; - if (BuildConfig.FLAVOR_abi == "x64") + if (BuildConfig.FLAVOR_abi.equals("x64")) disableFeatures += ",Vulkan"; CommandLine.getInstance().appendSwitchWithValue("disable-features", disableFeatures);