Dan Ballard pushed to branch tor-browser-153.2.0esr-16.0-1 at The Tor Project / Applications / Tor Browser Commits: c39d928f by clairehurst at 2026-09-08T11:34:01-07:00 fixup! [android] Disable features and functionality TB 45250: Remove "Privacy report" in tabs settings in Android - - - - - 3 changed files: - mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/TabsSettingsFragment.kt - mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt - mobile/android/fenix/app/src/main/res/xml/tabs_preferences.xml Changes: ===================================== mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/TabsSettingsFragment.kt ===================================== @@ -116,13 +116,6 @@ class TabsSettingsFragment : PreferenceFragmentCompat(), SystemInsetsPaddedFragm it.onPreferenceChangeListener = SharedPreferenceUpdater() } - privacyReport = requirePreference<SwitchPreferenceCompat>( - R.string.pref_key_privacy_report_tab_manager, - ).also { - it.isChecked = requireComponents.settings.showPrivacyReportInTabManager - it.onPreferenceChangeListener = SharedPreferenceUpdater() - } - inactiveTabsCategory = requirePreference<PreferenceCategory>(R.string.pref_key_inactive_tabs_category).also { it.isEnabled = !( ===================================== mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt ===================================== @@ -285,10 +285,7 @@ class Settings( /** * Indicates whether or not the privacy report should be shown in the tab manager. */ - var showPrivacyReportInTabManager by booleanPreference( - appContext.getPreferenceKey(R.string.pref_key_privacy_report_tab_manager), - default = true, - ) + var showPrivacyReportInTabManager = false private val homescreenSections: Map<HomeScreenSection, Boolean> get() = FxNimbus.features.homescreen.value().sectionsEnabled ===================================== mobile/android/fenix/app/src/main/res/xml/tabs_preferences.xml ===================================== @@ -58,11 +58,6 @@ android:title="@string/preferences_inactive_tabs_title"/> </androidx.preference.PreferenceCategory> - <androidx.preference.SwitchPreferenceCompat - android:defaultValue="true" - android:key="@string/pref_key_privacy_report_tab_manager" - android:title="@string/customize_toggle_privacy_report" /> - <PreferenceCategory android:key="@string/pref_key_pbm_lock_category_divider" android:layout="@xml/preference_category_divider" View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/c39d928f... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/c39d928f... 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
participants (1)
-
Dan Ballard (@dan)