[tor-commits] [Git][tpo/applications/firefox-android][firefox-android-115.2.1-13.5-1] fixup! Enable the connect assist experiments on alpha
Dan Ballard (@dan)
git at gitlab.torproject.org
Mon May 13 23:59:34 UTC 2024
Dan Ballard pushed to branch firefox-android-115.2.1-13.5-1 at The Tor Project / Applications / firefox-android
Commits:
89ac6134 by clairehurst at 2024-05-13T23:56:04+00:00
fixup! Enable the connect assist experiments on alpha
- - - - -
1 changed file:
- fenix/app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt
Changes:
=====================================
fenix/app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt
=====================================
@@ -13,6 +13,7 @@ import android.os.Build
import android.os.Bundle
import android.os.Handler
import android.os.Looper
+import android.util.Log
import android.view.LayoutInflater
import android.view.WindowManager
import android.widget.Toast
@@ -40,7 +41,6 @@ import mozilla.components.concept.sync.Profile
import mozilla.components.service.glean.private.NoExtras
import mozilla.components.support.ktx.android.view.showKeyboard
import org.mozilla.fenix.BrowserDirection
-import org.mozilla.fenix.BuildConfig
import org.mozilla.fenix.Config
import org.mozilla.fenix.FeatureFlags
import org.mozilla.fenix.GleanMetrics.Addons
@@ -49,6 +49,7 @@ import org.mozilla.fenix.GleanMetrics.Events
import org.mozilla.fenix.GleanMetrics.TrackingProtection
import org.mozilla.fenix.HomeActivity
import org.mozilla.fenix.R
+import org.mozilla.fenix.ReleaseChannel
import org.mozilla.fenix.components.accounts.FenixFxAEntryPoint
import org.mozilla.fenix.databinding.AmoCollectionOverrideDialogBinding
import org.mozilla.fenix.ext.application
@@ -59,6 +60,7 @@ import org.mozilla.fenix.ext.openSetDefaultBrowserOption
import org.mozilla.fenix.ext.requireComponents
import org.mozilla.fenix.ext.settings
import org.mozilla.fenix.ext.showToolbar
+import org.mozilla.fenix.gecko.GeckoProvider
import org.mozilla.fenix.nimbus.FxNimbus
import org.mozilla.fenix.perf.ProfilerViewModel
import org.mozilla.fenix.settings.account.AccountUiView
@@ -66,6 +68,7 @@ import org.mozilla.fenix.tor.QuickStartPreference
import org.mozilla.fenix.tor.TorBridgeTransportConfig
import org.mozilla.fenix.tor.TorEvents
import org.mozilla.fenix.utils.Settings
+import org.mozilla.geckoview.BuildConfig
import kotlin.system.exitProcess
@Suppress("LargeClass", "TooManyFunctions")
@@ -741,7 +744,7 @@ class SettingsFragment : PreferenceFragmentCompat() {
requirePreference<Preference>(R.string.pref_key_use_html_connection_ui).apply {
onPreferenceChangeListener = object : SharedPreferenceUpdater() {}
- isVisible = BuildConfig.DEBUG
+ isVisible = Config.channel != ReleaseChannel.Release
}
requirePreference<Preference>(R.string.pref_key_tor_logs).apply {
View it on GitLab: https://gitlab.torproject.org/tpo/applications/firefox-android/-/commit/89ac6134c4b7dc6653728c9174a4b238c19452e4
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/firefox-android/-/commit/89ac6134c4b7dc6653728c9174a4b238c19452e4
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240513/3156a592/attachment-0001.htm>
More information about the tor-commits
mailing list