Dan Ballard pushed to branch firefox-android-115.2.1-13.5-1 at The Tor Project / Applications / firefox-android

Commits:

1 changed file:

Changes:

  • fenix/app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt
    ... ... @@ -13,6 +13,7 @@ import android.os.Build
    13 13
     import android.os.Bundle
    
    14 14
     import android.os.Handler
    
    15 15
     import android.os.Looper
    
    16
    +import android.util.Log
    
    16 17
     import android.view.LayoutInflater
    
    17 18
     import android.view.WindowManager
    
    18 19
     import android.widget.Toast
    
    ... ... @@ -40,7 +41,6 @@ import mozilla.components.concept.sync.Profile
    40 41
     import mozilla.components.service.glean.private.NoExtras
    
    41 42
     import mozilla.components.support.ktx.android.view.showKeyboard
    
    42 43
     import org.mozilla.fenix.BrowserDirection
    
    43
    -import org.mozilla.fenix.BuildConfig
    
    44 44
     import org.mozilla.fenix.Config
    
    45 45
     import org.mozilla.fenix.FeatureFlags
    
    46 46
     import org.mozilla.fenix.GleanMetrics.Addons
    
    ... ... @@ -49,6 +49,7 @@ import org.mozilla.fenix.GleanMetrics.Events
    49 49
     import org.mozilla.fenix.GleanMetrics.TrackingProtection
    
    50 50
     import org.mozilla.fenix.HomeActivity
    
    51 51
     import org.mozilla.fenix.R
    
    52
    +import org.mozilla.fenix.ReleaseChannel
    
    52 53
     import org.mozilla.fenix.components.accounts.FenixFxAEntryPoint
    
    53 54
     import org.mozilla.fenix.databinding.AmoCollectionOverrideDialogBinding
    
    54 55
     import org.mozilla.fenix.ext.application
    
    ... ... @@ -59,6 +60,7 @@ import org.mozilla.fenix.ext.openSetDefaultBrowserOption
    59 60
     import org.mozilla.fenix.ext.requireComponents
    
    60 61
     import org.mozilla.fenix.ext.settings
    
    61 62
     import org.mozilla.fenix.ext.showToolbar
    
    63
    +import org.mozilla.fenix.gecko.GeckoProvider
    
    62 64
     import org.mozilla.fenix.nimbus.FxNimbus
    
    63 65
     import org.mozilla.fenix.perf.ProfilerViewModel
    
    64 66
     import org.mozilla.fenix.settings.account.AccountUiView
    
    ... ... @@ -66,6 +68,7 @@ import org.mozilla.fenix.tor.QuickStartPreference
    66 68
     import org.mozilla.fenix.tor.TorBridgeTransportConfig
    
    67 69
     import org.mozilla.fenix.tor.TorEvents
    
    68 70
     import org.mozilla.fenix.utils.Settings
    
    71
    +import org.mozilla.geckoview.BuildConfig
    
    69 72
     import kotlin.system.exitProcess
    
    70 73
     
    
    71 74
     @Suppress("LargeClass", "TooManyFunctions")
    
    ... ... @@ -741,7 +744,7 @@ class SettingsFragment : PreferenceFragmentCompat() {
    741 744
     
    
    742 745
             requirePreference<Preference>(R.string.pref_key_use_html_connection_ui).apply {
    
    743 746
                 onPreferenceChangeListener = object : SharedPreferenceUpdater() {}
    
    744
    -            isVisible = BuildConfig.DEBUG
    
    747
    +            isVisible = Config.channel != ReleaseChannel.Release
    
    745 748
             }
    
    746 749
     
    
    747 750
             requirePreference<Preference>(R.string.pref_key_tor_logs).apply {