<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

    <PreferenceCategory
        android:key="internal_account"
        android:title="@string/preferences__internal_account">

        <Preference
            android:key="pref_refresh_attributes"
            android:summary="@string/preferences__internal_refresh_attributes_description"
            android:title="@string/preferences__internal_refresh_attributes" />

        <Preference
            android:key="pref_rotate_profile_key"
            android:summary="@string/preferences__internal_rotate_profile_key_description"
            android:title="@string/preferences__internal_rotate_profile_key" />

        <Preference
            android:key="pref_refresh_remote_values"
            android:summary="@string/preferences__internal_refresh_remote_values_description"
            android:title="@string/preferences__internal_refresh_remote_values" />

    </PreferenceCategory>

    <PreferenceCategory
        android:key="internal_display"
        android:title="@string/preferences__internal_display">

        <org.thoughtcrime.securesms.components.SwitchPreferenceCompat
            android:key="internal.recipient_details"
            android:defaultValue="false"
            android:summary="@string/preferences__internal_user_details_description"
            android:title="@string/preferences__internal_user_details" />

    </PreferenceCategory>

    <PreferenceCategory
        android:key="internal_storage"
        android:title="@string/preferences__internal_storage_service">

        <Preference
            android:key="pref_force_send"
            android:summary="@string/preferences__internal_force_storage_service_sync_description"
            android:title="@string/preferences__internal_force_storage_service_sync" />

    </PreferenceCategory>

    <PreferenceCategory
        android:key="internal_groupsV2"
        android:title="@string/preferences__internal_preferences_groups_v2">

        <org.thoughtcrime.securesms.components.SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="internal.gv2.do_not_create_gv2"
            android:summary="@string/preferences__internal_do_not_create_gv2_description"
            android:title="@string/preferences__internal_do_not_create_gv2" />

        <org.thoughtcrime.securesms.components.SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="internal.gv2.force_invites"
            android:summary="@string/preferences__internal_force_gv2_invites_description"
            android:title="@string/preferences__internal_force_gv2_invites" />

        <org.thoughtcrime.securesms.components.SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="internal.gv2.ignore_server_changes"
            android:summary="@string/preferences__internal_ignore_gv2_server_changes_description"
            android:title="@string/preferences__internal_ignore_gv2_server_changes" />

        <org.thoughtcrime.securesms.components.SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="internal.gv2.ignore_p2p_changes"
            android:summary="@string/preferences__internal_ignore_gv2_p2p_changes_description"
            android:title="@string/preferences__internal_ignore_gv2_p2p_changes" />

    </PreferenceCategory>

    <PreferenceCategory
        android:key="internal_groupsV1Migration"
        android:title="@string/preferences__internal_preferences_groups_v1_migration">

        <org.thoughtcrime.securesms.components.SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="internal.gv2.disable_automigrate_initiation"
            android:summary="@string/preferences__internal_do_not_initiate_automigrate_description"
            android:title="@string/preferences__internal_do_not_initiate_automigrate" />

        <org.thoughtcrime.securesms.components.SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="internal.gv2.disable_automigrate_notification"
            android:summary="@string/preferences__internal_do_not_notify_automigrate_description"
            android:title="@string/preferences__internal_do_not_notify_automigrate" />

    </PreferenceCategory>

    <PreferenceCategory
        android:title="@string/preferences__internal_network">

        <org.thoughtcrime.securesms.components.SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="internal.force_censorship"
            android:summary="@string/preferences__internal_force_censorship_description"
            android:title="@string/preferences__internal_force_censorship" />

    </PreferenceCategory>

    <PreferenceCategory
        android:title="@string/preferences__internal_network">

        <org.thoughtcrime.securesms.components.SwitchPreferenceCompat
            android:defaultValue="false"
            android:key="internal.force_censorship"
            android:summary="@string/preferences__internal_force_censorship_description"
            android:title="@string/preferences__internal_force_censorship" />

    </PreferenceCategory>

    <PreferenceCategory
        android:title="@string/preferences__internal_conversations_and_shortcuts">

        <Preference
            android:key="pref_delete_dynamic_shortcuts"
            android:title="@string/preferences__internal_delete_all_dynamic_shortcuts"
            android:summary="@string/preferences__internal_click_to_delete_all_dynamic_shortcuts" />

    </PreferenceCategory>

</PreferenceScreen>
