summaryrefslogtreecommitdiffstats
path: root/mobile/android/fenix/app/src/main/res/xml/site_permissions_preferences.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/fenix/app/src/main/res/xml/site_permissions_preferences.xml')
-rw-r--r--mobile/android/fenix/app/src/main/res/xml/site_permissions_preferences.xml75
1 files changed, 75 insertions, 0 deletions
diff --git a/mobile/android/fenix/app/src/main/res/xml/site_permissions_preferences.xml b/mobile/android/fenix/app/src/main/res/xml/site_permissions_preferences.xml
new file mode 100644
index 0000000000..64c90b599b
--- /dev/null
+++ b/mobile/android/fenix/app/src/main/res/xml/site_permissions_preferences.xml
@@ -0,0 +1,75 @@
+<?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/. -->
+<androidx.preference.PreferenceScreen xmlns:tools="http://schemas.android.com/tools"
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <androidx.preference.PreferenceCategory
+ android:key="@string/pref_key_site_permissions_description"
+ app:iconSpaceReserved="false"
+ android:title="@string/preferences_site_permissions_description"
+ android:singleLineTitle="false"
+ android:visible="false"
+ tools:targetApi="o" />
+
+ <androidx.preference.Preference
+ android:icon="@drawable/ic_autoplay_enabled"
+ android:key="@string/pref_key_browser_feature_autoplay_v2"
+ android:title="@string/preference_browser_feature_autoplay"
+ android:summary="@string/preference_option_autoplay_blocked3"/>
+
+ <androidx.preference.Preference
+ android:icon="@drawable/ic_camera_enabled"
+ android:key="@string/pref_key_phone_feature_camera"
+ android:title="@string/preference_phone_feature_camera"
+ android:summary="@string/preference_option_phone_feature_ask_to_allow"/>
+
+ <androidx.preference.Preference
+ android:icon="@drawable/ic_location_enabled"
+ android:key="@string/pref_key_phone_feature_location"
+ android:title="@string/preference_phone_feature_location"
+ android:summary="@string/preference_option_phone_feature_ask_to_allow"/>
+
+ <androidx.preference.Preference
+ android:icon="@drawable/ic_microphone_enabled"
+ android:key="@string/pref_key_phone_feature_microphone"
+ android:title="@string/preference_phone_feature_microphone"
+ android:summary="@string/preference_option_phone_feature_ask_to_allow"/>
+
+ <androidx.preference.Preference
+ android:icon="@drawable/ic_notifications_enabled"
+ android:key="@string/pref_key_phone_feature_notification"
+ android:title="@string/preference_phone_feature_notification"
+ android:summary="@string/preference_option_phone_feature_ask_to_allow"
+ app:allowDividerBelow="true"/>
+
+ <androidx.preference.Preference
+ android:icon="@drawable/ic_storage"
+ android:key="@string/pref_key_browser_feature_persistent_storage"
+ android:title="@string/preference_phone_feature_persistent_storage"
+ android:summary="@string/preference_option_phone_feature_ask_to_allow"
+ app:allowDividerBelow="true"/>
+
+ <androidx.preference.Preference
+ android:icon="@drawable/ic_cookies"
+ android:key="@string/pref_key_browser_feature_cross_origin_storage_access"
+ android:title="@string/preference_phone_feature_cross_origin_storage_access"
+ android:summary="@string/preference_option_phone_feature_ask_to_allow"
+ app:allowDividerBelow="true"/>
+
+ <androidx.preference.Preference
+ android:icon="@drawable/ic_link"
+ android:key="@string/pref_key_browser_feature_media_key_system_access"
+ android:title="@string/preference_phone_feature_media_key_system_access"
+ android:summary="@string/preference_option_phone_feature_ask_to_allow"
+ app:allowDividerBelow="true"/>
+
+ <androidx.preference.Preference
+ android:icon="@drawable/ic_internet"
+ android:key="@string/pref_key_show_site_exceptions"
+ android:title="@string/preference_exceptions"
+ app:allowDividerAbove="true"/>
+
+</androidx.preference.PreferenceScreen>