Skip to content
Snippets Groups Projects
Verified Commit 61321900 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

Bug 42652: [android] Pass the list of supported languages to GeckoView.

It will be used to prevent leaks about regional preferences.
parent 988997dc
Branches
Tags
1 merge request!1222Bug 43166: Rebased alpha onto 128.3.0esr
......@@ -15,6 +15,7 @@ import mozilla.components.experiment.NimbusExperimentDelegate
import mozilla.components.lib.crash.handler.CrashHandlerService
import mozilla.components.service.sync.autofill.GeckoCreditCardsAddressesStorageDelegate
import mozilla.components.service.sync.logins.GeckoLoginStorageDelegate
import org.mozilla.fenix.BuildConfig
import org.mozilla.fenix.Config
import org.mozilla.fenix.ext.components
import org.mozilla.fenix.ext.settings
......@@ -137,6 +138,7 @@ object GeckoProvider {
.extensionsProcessEnabled(true)
.extensionsWebAPIEnabled(true)
.translationsOfferPopup(context.settings().offerTranslation)
.supportedLocales(BuildConfig.SUPPORTED_LOCALE_ARRAY.toList())
.build()
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment