update to gecko 151.0

This commit is contained in:
Fabian Freund
2026-05-25 04:27:18 +02:00
parent 864a1a2f1e
commit 77c3859dc2
2 changed files with 7 additions and 3 deletions
@@ -3,7 +3,7 @@ version = "1.0-SNAPSHOT"
buildscript {
ext.kotlin_version = "2.3.21"
ext.mozillaComponentsVersion = '150.0.1'
ext.mozillaComponentsVersion = '151.0'
repositories {
google()
@@ -139,7 +139,7 @@ dependencies {
implementation "org.mozilla.components:lib-publicsuffixlist:$mozillaComponentsVersion"
implementation "org.mozilla.components:service-firefox-accounts:$mozillaComponentsVersion"
implementation "org.mozilla.components:support-appservices:$mozillaComponentsVersion"
implementation "org.ironfoxoss.unifiedpush:unifiedpush:$mozillaComponentsVersion"
implementation "org.ironfoxoss.unifiedpush:unifiedpush:151.0.0"
implementation ('org.unifiedpush.android:connector:3.3.2') {
exclude group: 'com.google.protobuf', module: 'protobuf-java'
}
@@ -234,7 +234,11 @@ class Core(
LastMediaAccessMiddleware(),
// Keep parity with Fenix: do not initialize translations on store init.
// EngineObserver will dispatch InitTranslationsBrowserState after first completed page load.
TranslationsMiddleware(engine, MainScope(), false),
TranslationsMiddleware(
engine,
MainScope(),
false,
isTranslationsEnabled = { true }),
) + EngineMiddleware.create(
engine,
// We are disabling automatic suspending of engine sessions under memory pressure.