Pier Angelo Vendrame pushed to branch firefox-android-115.2.1-13.5-1 at The Tor 
Project / Applications / firefox-android


Commits:
c11e7b38 by Pier Angelo Vendrame at 2024-05-09T18:06:03+02:00
Bug 42652: Pass the list of supported languages to GeckoView.

It will be used to prevent leaks about regional preferences.

- - - - -


1 changed file:

- fenix/app/src/main/java/org/mozilla/fenix/gecko/GeckoProvider.kt


Changes:

=====================================
fenix/app/src/main/java/org/mozilla/fenix/gecko/GeckoProvider.kt
=====================================
@@ -14,6 +14,7 @@ import mozilla.components.concept.storage.LoginsStorage
 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
@@ -58,6 +59,7 @@ object GeckoProvider {
             .contentBlocking(policy.toContentBlockingSetting())
             .debugLogging(Config.channel.isDebug || 
context.components.settings.enableGeckoLogs)
             .aboutConfigEnabled(Config.channel.isBeta || 
Config.channel.isNightlyOrDebug)
+            .supportedLocales(BuildConfig.SUPPORTED_LOCALE_ARRAY.toList())
             .build()
 
         val settings = context.components.settings



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/firefox-android/-/commit/c11e7b38204b12a7f60d06dbe606424520ca2a88

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/firefox-android/-/commit/c11e7b38204b12a7f60d06dbe606424520ca2a88
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to