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 { buildscript {
ext.kotlin_version = "2.3.21" ext.kotlin_version = "2.3.21"
ext.mozillaComponentsVersion = '150.0.1' ext.mozillaComponentsVersion = '151.0'
repositories { repositories {
google() google()
@@ -139,7 +139,7 @@ dependencies {
implementation "org.mozilla.components:lib-publicsuffixlist:$mozillaComponentsVersion" implementation "org.mozilla.components:lib-publicsuffixlist:$mozillaComponentsVersion"
implementation "org.mozilla.components:service-firefox-accounts:$mozillaComponentsVersion" implementation "org.mozilla.components:service-firefox-accounts:$mozillaComponentsVersion"
implementation "org.mozilla.components:support-appservices:$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') { implementation ('org.unifiedpush.android:connector:3.3.2') {
exclude group: 'com.google.protobuf', module: 'protobuf-java' exclude group: 'com.google.protobuf', module: 'protobuf-java'
} }
@@ -234,7 +234,11 @@ class Core(
LastMediaAccessMiddleware(), LastMediaAccessMiddleware(),
// Keep parity with Fenix: do not initialize translations on store init. // Keep parity with Fenix: do not initialize translations on store init.
// EngineObserver will dispatch InitTranslationsBrowserState after first completed page load. // EngineObserver will dispatch InitTranslationsBrowserState after first completed page load.
TranslationsMiddleware(engine, MainScope(), false), TranslationsMiddleware(
engine,
MainScope(),
false,
isTranslationsEnabled = { true }),
) + EngineMiddleware.create( ) + EngineMiddleware.create(
engine, engine,
// We are disabling automatic suspending of engine sessions under memory pressure. // We are disabling automatic suspending of engine sessions under memory pressure.