summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/xml/preferences_privacy.xml
blob: 7b3215cb26657b904ecc7836d7856b81a6b68a70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?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">

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

    <org.mozilla.gecko.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/" />

    <CheckBoxPreference android:key="privacy.trackingprotection.pbmode.enabled"
                        android:title="@string/pref_tracking_protection_title"
                        android:summary="@string/pref_tracking_protection_summary"
                        android:persistent="false" />

    <ListPreference android:key="privacy.trackingprotection.state"
                    android:title="@string/pref_tracking_protection_title"
                    android:entries="@array/pref_tracking_protection_entries"
                    android:entryValues="@array/pref_tracking_protection_values"
                    android:persistent="false" />

    <org.mozilla.gecko.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" />

    <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" />


    <!-- 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 android:title="@string/pref_category_logins">

        <org.mozilla.gecko.preferences.LinkPreference
            android:key="android.not_a_preference.signon.manage"
            android:title="@string/pref_manage_logins"
            url="about:logins"/>

        <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" />

    </PreferenceCategory>

    <PreferenceCategory android:key="android.not_a_preference.datareporting.preferences"
                        android:title="@string/pref_category_datareporting">

        <CheckBoxPreference android:key="toolkit.telemetry.enabled"
                            android:title="@string/datareporting_telemetry_title"
                            android:summary="@string/datareporting_telemetry_summary" />

        <CheckBoxPreference android:key="datareporting.crashreporter.submitEnabled"
                            android:title="@string/datareporting_crashreporter_title_short"
                            android:summary="@string/datareporting_crashreporter_summary"
                            android:defaultValue="false" />

        <CheckBoxPreference android:key="android.not_a_preference.app.geo.reportdata"
                            android:title="@string/datareporting_wifi_title"
                            android:summary="@string/datareporting_wifi_geolocation_summary" />

        <org.mozilla.gecko.preferences.AlignRightLinkPreference android:key="android.not_a_preference.geo.learn_more"
                                                                android:title="@string/pref_learn_more"
                                                                android:persistent="false"
                                                                url="https://location.services.mozilla.com/" />

        <CheckBoxPreference android:key="android.not_a_preference.healthreport.uploadEnabled"
                            android:title="@string/datareporting_fhr_title"
                            android:summary="@string/datareporting_fhr_summary2"
                            android:defaultValue="true" />

        <org.mozilla.gecko.preferences.AlignRightLinkPreference android:key="android.not_a_preference.healthreport.link"
                                                                android:title="@string/datareporting_abouthr_title"
                                                                android:persistent="false"
                                                                url="about:healthreport" />

    </PreferenceCategory>

</PreferenceScreen>