clairehurst pushed to branch tor-browser-149.0a1-16.0-2 at The Tor Project /
Applications / Tor Browser
Commits:
f4c0f646 by clairehurst at 2026-03-26T13:59:50-06:00
TB 44594: [android] Remove DoH
- - - - -
1 changed file:
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
Changes:
=====================================
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
=====================================
@@ -2739,10 +2739,7 @@ class Settings(
/**
* Indicates whether or not to show the entry point for the DNS over HTTPS
settings
*/
- val showDohEntryPoint by booleanPreference(
- key =
appContext.getPreferenceKey(R.string.pref_key_doh_settings_enabled),
- default = { FxNimbus.features.doh.value().showUi },
- )
+ val showDohEntryPoint = false
/**
* Stores the current DoH mode as an integer preference.
@@ -2751,28 +2748,19 @@ class Settings(
* - 3: Maximum protection
* - 5: DoH is disabled
*/
- private var trrMode by intPreference(
- key = appContext.getPreferenceKey(R.string.pref_key_doh_settings_mode),
- default = DOH_SETTINGS_DEFAULT,
- )
+ private var trrMode = DOH_SETTINGS_OFF
/**
* Stores the URI of the custom DoH provider selected by the user.
* Defaults to an empty string if no provider is set.
*/
- var dohProviderUrl by stringPreference(
- key = appContext.getPreferenceKey(R.string.pref_key_doh_provider_uri),
- default = "",
- )
+ var dohProviderUrl = ""
/**
* Stores the URI of the default DoH provider.
* Bug 1946867 - Currently "hardcoded" to
"https://mozilla.cloudflare-dns.com/dns-query"
*/
- val dohDefaultProviderUrl by stringPreference(
- key =
appContext.getPreferenceKey(R.string.pref_key_doh_default_provider_uri),
- default = CLOUDFLARE_URI,
- )
+ val dohDefaultProviderUrl = ""
/**
* Stores a set of domains that are excluded from using DNS over HTTPS.
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f4c0f646dc71770b842d41298e34b1542ff5c8be
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f4c0f646dc71770b842d41298e34b1542ff5c8be
You're receiving this email because of your account on gitlab.torproject.org.
Manage all notifications: https://gitlab.torproject.org/-/profile/notifications
| Help: https://gitlab.torproject.org/help
_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]