summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/blacklist_prefs.xml46
-rw-r--r--res/xml/security_settings_app_cyanogenmod.xml31
2 files changed, 77 insertions, 0 deletions
diff --git a/res/xml/blacklist_prefs.xml b/res/xml/blacklist_prefs.xml
new file mode 100644
index 0000000..be63b7d
--- /dev/null
+++ b/res/xml/blacklist_prefs.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/blacklist_title" >
+
+ <com.android.settings.cyanogenmod.SystemSettingCheckBoxPreference
+ android:key="phone_blacklist_notify_enabled"
+ android:title="@string/blacklist_notify"
+ android:defaultValue="true" />
+
+ <MultiSelectListPreference
+ android:key="button_blacklist_private_numbers"
+ android:title="@string/blacklist_private_numbers_title"
+ android:dialogTitle="@string/blacklist_private_numbers_title"
+ android:entries="@array/blacklist_policy_private_entries"
+ android:entryValues="@array/blacklist_policy_private_values"
+ android:persistent="false" />
+
+ <MultiSelectListPreference
+ android:key="button_blacklist_unknown_numbers"
+ android:title="@string/blacklist_unknown_numbers_title"
+ android:dialogTitle="@string/blacklist_unknown_numbers_title"
+ android:entries="@array/blacklist_policy_unknown_entries"
+ android:entryValues="@array/blacklist_policy_unknown_values"
+ android:persistent="false" />
+
+ <com.android.settings.cyanogenmod.SystemSettingCheckBoxPreference
+ android:key="phone_blacklist_regex_enabled"
+ android:title="@string/blacklist_regex_title"
+ android:summary="@string/blacklist_regex_summary" />
+
+</PreferenceScreen>
diff --git a/res/xml/security_settings_app_cyanogenmod.xml b/res/xml/security_settings_app_cyanogenmod.xml
new file mode 100644
index 0000000..a63fba6
--- /dev/null
+++ b/res/xml/security_settings_app_cyanogenmod.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <PreferenceCategory
+ android:key="app_security"
+ android:title="@string/app_security_title">
+
+ <PreferenceScreen
+ android:key="blacklist"
+ android:title="@string/blacklist_title"
+ android:fragment="com.android.settings.blacklist.BlacklistSettings" />
+
+ </PreferenceCategory>
+
+</PreferenceScreen>