Files
palemoon27/mobile/android/base/resources/xml/preferences_privacy.xml
T
2018-07-24 23:11:02 +08:00

78 lines
4.0 KiB
XML

<?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:goanna="http://schemas.android.com/apk/res-auto"
android:title="@string/pref_category_privacy_short"
android:enabled="false">
<CheckBoxPreference android:key="privacy.trackingprotection.enabled"
android:title="@string/pref_tracking_protection_title"
android:summary="@string/pref_tracking_protection_summary"
android:persistent="false" />
<org.mozilla.goanna.preferences.AlignRightLinkPreference
android:key="android.not_a_preference.trackingprotection.learn_more"
android:title="@string/pref_learn_more"
android:persistent="false"
url="https://support.mozilla.org/kb/firefox-android-tracking-protection" />
<CheckBoxPreference android:key="privacy.donottrackheader.enabled"
android:title="@string/pref_donottrack_title"
android:summary="@string/pref_donottrack_summary"
android:persistent="false" />
<org.mozilla.goanna.preferences.AlignRightLinkPreference
android:key="android.not_a_preference.donottrackheader.learn_more"
android:title="@string/pref_learn_more"
android:persistent="false"
url="https://www.mozilla.org/firefox/dnt/" />
<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:persistent="false" />
<CheckBoxPreference android:key="privacy.masterpassword.enabled"
android:title="@string/pref_use_master_password"
android:persistent="false" />
<!-- keys prefixed with "android.not_a_preference." are not synced with Goanna -->
<PreferenceCategory android:title="@string/pref_clear_private_data_category">
<org.mozilla.goanna.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"
goanna:entries="@array/pref_private_data_entries"
goanna:entryValues="@array/pref_private_data_values"
goanna:entryKeys="@array/pref_private_data_keys"
goanna:initialValues="@array/pref_private_data_defaults" />
<!-- This pref is persisted in both Goanna and Java -->
<org.mozilla.goanna.preferences.ListCheckboxPreference
android:key="android.not_a_preference.history.clear_on_exit"
goanna:entries="@array/pref_private_data_entries"
goanna:entryValues="@array/pref_private_data_values"
goanna: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>