<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
                  xmlns:gecko="http://schemas.android.com/apk/res-auto"
                  android:title="@string/pref_category_privacy_short"
                  android:enabled="false">

    <CheckBoxPreference android:key="privacy.donottrackheader.enabled"
                        android:title="@string/pref_donottrack_title"
                        android:summary="@string/pref_donottrack_summary"
                        android:defaultValue="false"
                        android:persistent="false" />

    <ListPreference android:key="network.cookie.cookieBehavior"
                    android:title="@string/pref_cookies_menu"
                    android:entries="@array/pref_cookies_entries"
                    android:entryValues="@array/pref_cookies_values"
                    android:persistent="false" />

    <CheckBoxPreference android:key="signon.rememberSignons"
                        android:title="@string/pref_remember_signons"
                        android:defaultValue="true"
                        android:persistent="false" />

    <CheckBoxPreference android:key="privacy.masterpassword.enabled"
                        android:title="@string/pref_use_master_password"
                        android:defaultValue="false"
                        android:persistent="false" />

    <!-- keys prefixed with "android.not_a_preference." are not synced with Gecko -->
    <PreferenceCategory android:title="@string/pref_clear_private_data_category">

        <org.mozilla.gecko.preferences.PrivateDataPreference
                            android:key="android.not_a_preference.privacy.clear"
                            android:title="@string/pref_clear_private_data"
                            android:persistent="true"
                            android:positiveButtonText="@string/button_clear_data"
                            gecko:entries="@array/pref_private_data_entries"
                            gecko:entryValues="@array/pref_private_data_values"
                            gecko:entryKeys="@array/pref_private_data_keys"
                            gecko:initialValues="@array/pref_private_data_defaults" />

        <!-- This pref is persisted in both Gecko and Java -->
        <org.mozilla.gecko.preferences.ListCheckboxPreference
                            android:key="android.not_a_preference.history.clear_on_exit"
                            gecko:entries="@array/pref_private_data_entries"
                            gecko:entryValues="@array/pref_private_data_values"
                            gecko:initialValues="@array/pref_clear_on_exit_defaults"

                            android:title="@string/pref_clear_on_exit_title"
                            android:summary="@string/pref_clear_on_exit_summary2"

                            android:dialogTitle="@string/pref_clear_on_exit_dialog_title"
                            android:positiveButtonText="@string/button_set"/>

    </PreferenceCategory>

</PreferenceScreen>


