Skip to content
Snippets Groups Projects
Commit 3768f68b authored by clairehurst's avatar clairehurst
Browse files

add to fixup! Enable the connect assist experiments on alpha

parent c2db7c96
Branches
Tags
1 merge request!83Bug_42526: Make the new Native Android Connection Assist the default
......@@ -258,7 +258,7 @@ data class DefaultSettings(
override var cookieBannerHandlingDetectOnlyMode: Boolean = false,
override var torSecurityLevel: Int = 4,
override var spoofEnglish: Boolean = false,
override var useNewBootstrap: Boolean = false,
override var useNewBootstrap: Boolean = true,
) : Settings()
class UnsupportedSetting<T> {
......
......@@ -1857,16 +1857,16 @@ class Settings(private val appContext: Context) : PreferencesHolder {
var useNewBootstrap by booleanPreference(
appContext.getPreferenceKey(R.string.pref_key_use_new_bootstrap),
default = false,
default = true,
)
var useNewBootstrapNativeUi by booleanPreference(
appContext.getPreferenceKey(R.string.pref_key_use_new_bootstrap_with_android_native),
default = false,
default = true,
)
var useNewBootstrapHtmlUi by booleanPreference(
appContext.getPreferenceKey(R.string.pref_key_use_new_bootstrap_with_html),
default = true
default = false
)
}
......@@ -60,7 +60,7 @@
app:layout_constraintTop_toBottomOf="@id/enable_beta_connection_features_summary">
<org.mozilla.fenix.settings.PreferenceBackedRadioButton
android:id="@+id/use_new_bootstrap_with_html_ui_radio_button"
android:id="@+id/use_new_bootstrap_with_native_ui_radio_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
......@@ -70,15 +70,15 @@
android:paddingTop="@dimen/radio_button_preference_vertical"
android:paddingEnd="@dimen/radio_button_preference_horizontal"
android:paddingBottom="@dimen/radio_button_preference_vertical"
android:text="HTML UI"
android:text="Native Android UI"
android:textAppearance="?android:attr/textAppearanceListItem"
android:textSize="16sp"
app:drawableStartCompat="?android:attr/listChoiceIndicatorSingle"
app:preferenceKey="@string/pref_key_use_new_bootstrap_with_html"
app:preferenceKey="@string/pref_key_use_new_bootstrap_with_android_native"
app:preferenceKeyDefaultValue="true" />
<org.mozilla.fenix.settings.PreferenceBackedRadioButton
android:id="@+id/use_new_bootstrap_with_native_ui_radio_button"
android:id="@+id/use_new_bootstrap_with_html_ui_radio_button"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="?android:attr/selectableItemBackground"
......@@ -88,11 +88,11 @@
android:paddingTop="@dimen/radio_button_preference_vertical"
android:paddingEnd="@dimen/radio_button_preference_horizontal"
android:paddingBottom="@dimen/radio_button_preference_vertical"
android:text="Native Android UI"
android:text="HTML UI"
android:textAppearance="?android:attr/textAppearanceListItem"
android:textSize="16sp"
app:drawableStartCompat="?android:attr/listChoiceIndicatorSingle"
app:preferenceKey="@string/pref_key_use_new_bootstrap_with_android_native"
app:preferenceKey="@string/pref_key_use_new_bootstrap_with_html"
app:preferenceKeyDefaultValue="false" />
</RadioGroup>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment