<?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:enabled="false">

    <PreferenceScreen android:title="@string/pref_category_home"
                      android:summary="@string/pref_category_home_summary" >
        <intent android:action="android.intent.action.VIEW"
                android:targetPackage="@string/android_package_name"
                android:targetClass="org.mozilla.gecko.preferences.GeckoPreferences" >
            <extra
                android:name="resource"
                android:value="preferences_home" />
        </intent>
    </PreferenceScreen>

    <PreferenceScreen android:title="@string/pref_category_search"
                      android:summary="@string/pref_category_search_summary" >

        <intent android:action="android.intent.action.VIEW"
                android:targetPackage="@string/android_package_name"
                android:targetClass="org.mozilla.gecko.preferences.GeckoPreferences" >
            <extra
                android:name="resource"
                android:value="preferences_search" />
        </intent>
    </PreferenceScreen>

    <ListPreference android:key="android.not_a_preference.restoreSession3"
                    android:title="@string/pref_restore"
                    android:defaultValue="quit"
                    android:entries="@array/pref_restore_entries"
                    android:entryValues="@array/pref_restore_values"
                    android:persistent="true" />

    <CheckBoxPreference android:key="android.not_a_preference.tab_queue"
                        android:title="@string/pref_tab_queue_title"
                        android:summary="@string/pref_tab_queue_summary"
                        android:defaultValue="false" />

    <org.mozilla.gecko.preferences.AndroidImportPreference
                  android:key="android.not_a_preference.import_android"
                  gecko:entries="@array/pref_import_android_entries"
                  gecko:entryValues="@array/pref_import_android_values"
                  gecko:initialValues="@array/pref_import_android_defaults"
                  gecko:entryKeys="@array/pref_import_android_keys"
                  android:title="@string/pref_import_android"
                  android:summary="@string/pref_import_android_summary"
                  android:positiveButtonText="@string/bookmarkhistory_button_import"
                  android:negativeButtonText="@string/button_cancel"
                  android:persistent="false" />


   <ListPreference android:key="app.update.autodownload"
                   android:title="@string/pref_update_autodownload"
                   android:entries="@array/pref_update_autodownload_entries"
                   android:entryValues="@array/pref_update_autodownload_values"
                   android:persistent="false" />

</PreferenceScreen>

