clairehurst pushed to branch tor-browser-140.4.0esr-15.0-1 at The Tor Project /
Applications / Tor Browser
Commits:
f6b70413 by clairehurst at 2025-10-21T10:00:59-07:00
fixup! [android] Disable features and functionality
- - - - -
2 changed files:
-
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
Changes:
=====================================
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt
=====================================
@@ -186,8 +186,7 @@ class SettingsFragment : PreferenceFragmentCompat(),
UserInteractionHandler {
findPreference<Preference>(
getPreferenceKey(R.string.pref_key_translation),
- )?.isVisible =
FxNimbus.features.translations.value().globalSettingsEnabled &&
-
requireContext().components.core.store.state.translationEngine.isEngineSupported
== true
+ )?.isVisible = false
}
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey:
String?) {
=====================================
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
=====================================
@@ -675,7 +675,7 @@ class Settings(private val appContext: Context) :
PreferencesHolder {
*/
var showFirstTimeTranslation: Boolean by booleanPreference(
appContext.getPreferenceKey(R.string.pref_key_show_first_time_translation),
- default = true,
+ default = false,
)
/**
@@ -683,7 +683,7 @@ class Settings(private val appContext: Context) :
PreferencesHolder {
*/
var offerTranslation: Boolean by booleanPreference(
appContext.getPreferenceKey(R.string.pref_key_translations_offer),
- default = true,
+ default = false,
)
@VisibleForTesting
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f6b70413189ccafd6960949d46fec3a487df9167
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f6b70413189ccafd6960949d46fec3a487df9167
You're receiving this email because of your account on gitlab.torproject.org.
_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]