Commit d4e8b0ae authored by Matthew Finkel's avatar Matthew Finkel
Browse files

Bug 40016: Hide unwanted Settings

parent 0078ae15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ class AccountUiView(

            // Signed-out.
        } else {
            preferenceSignIn.isVisible = true
            preferenceSignIn.isVisible = false
            preferenceFirefoxAccount.isVisible = false
            preferenceFirefoxAccountAuthError.isVisible = false
            accountPreferenceCategory.isVisible = false
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
        android:title="@string/preferences_passwords_autofill" />
    <Preference
        android:key="@string/pref_key_password_sync_logins"
        app:isPreferenceVisible="false"
        android:summary="@string/preferences_passwords_sync_logins_off"
        android:title="@string/preferences_passwords_sync_logins" />
    <Preference
+4 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
        android:key="@string/pref_key_sign_in"
        android:layout="@layout/sign_in_preference"
        android:summary="@string/preferences_sign_in_description"
        app:isPreferenceVisible="false"
        android:title="@string/preferences_sync" />

    <androidx.preference.PreferenceCategory
@@ -98,6 +99,7 @@
        <androidx.preference.Preference
            android:icon="@drawable/ic_tracking_protection_enabled"
            android:key="@string/pref_key_tracking_protection_settings"
            app:isPreferenceVisible="false"
            android:title="@string/preference_enhanced_tracking_protection" />

        <androidx.preference.Preference
@@ -123,6 +125,7 @@
        <androidx.preference.Preference
            android:icon="@drawable/ic_data_collection"
            android:key="@string/pref_key_data_choices"
            app:isPreferenceVisible="false"
            android:title="@string/preferences_data_collection" />

    </androidx.preference.PreferenceCategory>
@@ -141,6 +144,7 @@
            android:defaultValue="false"
            android:icon="@drawable/ic_open_in_app"
            android:key="@string/pref_key_open_links_in_external_app"
            app:isPreferenceVisible="false"
            android:title="@string/preferences_open_links_in_apps" />

        <androidx.preference.SwitchPreference