summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorLars Greiss <kufikugel@googlemail.com>2013-07-02 01:46:10 +0200
committerDanny Baumann <dannybaumann@web.de>2013-07-03 13:04:57 +0200
commitdeff1bd108333b3c997751a5dfb2f7731d7f6bda (patch)
treed7ff6a96504a0bfed19591deccdf5a9f6d512035 /res/xml
parent5aacfcbbe55f638d1f69933acb0821492c354b48 (diff)
downloadpackages_apps_settings-deff1bd108333b3c997751a5dfb2f7731d7f6bda.zip
packages_apps_settings-deff1bd108333b3c997751a5dfb2f7731d7f6bda.tar.gz
packages_apps_settings-deff1bd108333b3c997751a5dfb2f7731d7f6bda.tar.bz2
Settings: Introduce Privacy Guard Manager
Due that on the one hand a lot user are not familiar with permissions and how to read them and on the other user want to have a faster easy access to setup privacy guard for several apps this small manager assist the user to setup. Privacy Guard Manager shows a list off all installed apps Per default it shows only user apps which have critical permissions privacy guard can protect. The user can optional show in the list as well all system apps or turn off the filter to show all apps undependent of the permission the app has. To activate privacy guard for an app a simple click on the entry activates it so that the user can go fast trough the list. Longpress opens app detail page. Initial help dialog tells the user how to use it. Due the filter user who are unfimiliar with permissions can fast see which apps are effected without deeper knowledge cheers SlimRoms PatchSet3: - go inline with AOSP style - move PrivacyGuard by default into manager - change behaviour off active icons PatchSet4: - change app icon size to 36dip PatchSet5: - string change PatchSet6: - add reset option to disable privacy guard for all shown apps in the list PatchSet7: - Cleaned up the intro dialog a bit. PatchSet8+9: - cleanup - fix alignment of top checkbox PatchSet10: - fix permission filter PatchSet11: - improve icon loading Change-Id: I6bc886393bf90f8daed92b66d5fee1ce9e1accd0
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/privacy_guard_prefs.xml26
-rw-r--r--res/xml/security_settings_app_cyanogenmod.xml10
2 files changed, 31 insertions, 5 deletions
diff --git a/res/xml/privacy_guard_prefs.xml b/res/xml/privacy_guard_prefs.xml
new file mode 100644
index 0000000..2cc82c1
--- /dev/null
+++ b/res/xml/privacy_guard_prefs.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 Slimroms 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">
+
+ <CheckBoxPreference
+ android:key="privacy_guard_default"
+ android:title="@string/privacy_guard_default_title"
+ android:summary="@string/privacy_guard_default_summary"
+ android:persistent="false" />
+
+</PreferenceScreen>
diff --git a/res/xml/security_settings_app_cyanogenmod.xml b/res/xml/security_settings_app_cyanogenmod.xml
index fbaf10b..379245f 100644
--- a/res/xml/security_settings_app_cyanogenmod.xml
+++ b/res/xml/security_settings_app_cyanogenmod.xml
@@ -21,11 +21,11 @@
android:key="app_security"
android:title="@string/app_security_title">
- <CheckBoxPreference
- android:key="privacy_guard_default"
- android:title="@string/privacy_guard_default_title"
- android:summary="@string/privacy_guard_default_summary"
- android:persistent="false" />
+ <Preference
+ android:fragment="com.android.settings.cyanogenmod.privacyguard.PrivacyGuardManager"
+ android:key="privacy_guard_manager"
+ android:summary="@string/privacy_guard_manager_summary"
+ android:title="@string/privacy_guard_manager_title" />
<ListPreference
android:key="sms_security_check_limit"