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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-153.0esr-16.0-1] fixup! [android] Disable features and functionality



Title: GitLab

Dan Ballard pushed to branch tor-browser-153.0esr-16.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 7d1427b6
    by clairehurst at 2026-08-04T10:55:01-07:00
    fixup! [android] Disable features and functionality
    
    Bug 45173: Disable search optimizations for android
    

1 changed file:

Changes:

  • mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
    ... ... @@ -2121,30 +2121,11 @@ class Settings(
    2121 2121
             default = true,
    
    2122 2122
         )
    
    2123 2123
     
    
    2124
    -    var isSearchOptimizationEnabled by booleanPreference(
    
    2125
    -        key = appContext.getPreferenceKey(R.string.pref_key_search_optimization_feature),
    
    2126
    -        default = { FxNimbus.features.searchOptimizationOption.value().enabled },
    
    2127
    -    )
    
    2128
    -
    
    2129
    -    var shouldShowSearchOptimizationCards by booleanPreference(
    
    2130
    -        key = appContext.getPreferenceKey(R.string.pref_key_search_optimization_cards),
    
    2131
    -        default = { isSearchOptimizationEnabled },
    
    2132
    -    )
    
    2133
    -
    
    2134
    -    var shouldShowSearchOptimizationStockCard by booleanPreference(
    
    2135
    -        key = appContext.getPreferenceKey(R.string.pref_key_search_optimization_stocks),
    
    2136
    -        default = { FxNimbus.features.searchOptimizationOption.value().showStocksCard },
    
    2137
    -    )
    
    2138
    -
    
    2139
    -    var shouldShowSearchOptimizationFlightCard by booleanPreference(
    
    2140
    -        key = appContext.getPreferenceKey(R.string.pref_key_search_optimization_flights),
    
    2141
    -        default = { FxNimbus.features.searchOptimizationOption.value().showFlightsCard },
    
    2142
    -    )
    
    2143
    -
    
    2144
    -    var shouldShowSearchOptimizationSportCard by booleanPreference(
    
    2145
    -        key = appContext.getPreferenceKey(R.string.pref_key_search_optimization_sports),
    
    2146
    -        default = { FxNimbus.features.searchOptimizationOption.value().showSportsCard },
    
    2147
    -    )
    
    2124
    +    var isSearchOptimizationEnabled = false
    
    2125
    +    var shouldShowSearchOptimizationCards = false
    
    2126
    +    var shouldShowSearchOptimizationStockCard = false
    
    2127
    +    var shouldShowSearchOptimizationFlightCard = false
    
    2128
    +    var shouldShowSearchOptimizationSportCard = false
    
    2148 2129
     
    
    2149 2130
         val isTabStripEnabled = false
    
    2150 2131
     
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx