[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/firefox-android][firefox-android-115.2.1-13.5-1] Bug 42652: Pass the list of supported languages to GeckoView.



Title: GitLab

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:

Changes:

  • fenix/app/src/main/java/org/mozilla/fenix/gecko/GeckoProvider.kt
    ... ... @@ -14,6 +14,7 @@ import mozilla.components.concept.storage.LoginsStorage
    14 14
     import mozilla.components.lib.crash.handler.CrashHandlerService
    
    15 15
     import mozilla.components.service.sync.autofill.GeckoCreditCardsAddressesStorageDelegate
    
    16 16
     import mozilla.components.service.sync.logins.GeckoLoginStorageDelegate
    
    17
    +import org.mozilla.fenix.BuildConfig
    
    17 18
     import org.mozilla.fenix.Config
    
    18 19
     import org.mozilla.fenix.ext.components
    
    19 20
     import org.mozilla.fenix.ext.settings
    
    ... ... @@ -58,6 +59,7 @@ object GeckoProvider {
    58 59
                 .contentBlocking(policy.toContentBlockingSetting())
    
    59 60
                 .debugLogging(Config.channel.isDebug || context.components.settings.enableGeckoLogs)
    
    60 61
                 .aboutConfigEnabled(Config.channel.isBeta || Config.channel.isNightlyOrDebug)
    
    62
    +            .supportedLocales(BuildConfig.SUPPORTED_LOCALE_ARRAY.toList())
    
    61 63
                 .build()
    
    62 64
     
    
    63 65
             val settings = context.components.settings
    

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