Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public static WindowSizePreset fromValues(int width, int height) {
public final static int POINTER_COLOR_DEFAULT_DEFAULT = Color.parseColor("#FFFFFF");
public final static String ENV_DEFAULT = "cyberpunk";
public final static int MSAA_DEFAULT_LEVEL = 1;
public final static boolean AUDIO_ENABLED = BuildConfig.FLAVOR_backend == "chromium";
public final static boolean AUDIO_ENABLED = BuildConfig.FLAVOR_backend.equals("chromium");
public final static boolean LATIN_AUTO_COMPLETE_ENABLED = false;
public final static boolean WINDOW_MOVEMENT_DEFAULT = false;
public final static @TabsLocation int TABS_LOCATION_DEFAULT = TABS_LOCATION_TRAY;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ public CompletableFuture<Void> captureBackgroundBitmap(int displayWidth, int dis
// FIXME: calling acquireDisplay() is not well supported in the Chromium backend because
// that method incorrectly does some extra work handling widgets. Disable the bitmap
// capture in the meantime (it was not working anyway yet).
if (mState.mSession == null || !mFirstContentfulPaint || BuildConfig.FLAVOR_backend == "chromium") {
if (mState.mSession == null || !mFirstContentfulPaint || BuildConfig.FLAVOR_backend.equals("chromium")) {
return CompletableFuture.completedFuture(null);
}
Surface captureSurface = BitmapCache.getInstance(mContext).acquireCaptureSurface(displayWidth, displayHeight);
Expand Down
Loading