summaryrefslogtreecommitdiffstats
path: root/res/menu
diff options
context:
space:
mode:
authorSam Mortimer <sam@mortimer.me.uk>2014-11-14 23:15:15 -0800
committerRoman Birg <roman@cyngn.com>2015-11-03 12:21:35 -0800
commitdb521697716ce627bb9dd574de86e60b756ca2fa (patch)
tree2eb2f067129e8d059f66a1d9fa0b7d75f7993527 /res/menu
parent45b8df16fd9f45f5bb4f4ecb72dbd567e829dcbd (diff)
downloadpackages_apps_Settings-db521697716ce627bb9dd574de86e60b756ca2fa.zip
packages_apps_Settings-db521697716ce627bb9dd574de86e60b756ca2fa.tar.gz
packages_apps_Settings-db521697716ce627bb9dd574de86e60b756ca2fa.tar.bz2
[2/2] Settings: Privacy Guard
PS2: * add ic_privacy_guard*.png from frameworks/base * rebase PS3: * enable AppOpsSummaryActivity * use SubSettings on longclick PS4: * move privacyguard settings category to just below security PS5: * rebase Pulled together mostly (if not all) from: Author: Steve Kondik <shade@chemlab.org> Date: Tue Feb 25 14:02:16 2014 +0100 settings: Relocate Privacy Guard icons to framework * So we can use them in the permission dialog for MODE_ASK Change-Id: Ia9bac7dff0bbe91ae48db5d4b0d8f46feb9fdf86 Author: DvTonder <david.vantonder@gmail.com> Date: Thu Jan 16 19:01:23 2014 -0500 Settings: Fix up top level "Privacy" section Change-Id: Id4dbda10a891c793bc6eb3c42807cc0e3f6092cc Author: Danny Baumann <dannybaumann@web.de> Date: Fri Nov 8 13:37:07 2013 +0100 Add back privacy guard manager. Change-Id: Ic9fbbae137bb8425fe72a6cdb2f17117351b5709 Author: Chirayu Desai <cdesai@cyanogenmod.org> Date: Sat Dec 28 18:51:46 2013 +0530 PrivacyGuard: Specify a default value in Settings.getInt method call * While privacy guard is enabled by default, the default value specified here is returned only when the setting is not defined or not an integer. Change-Id: Iaedffcc76a23a310aa7915f6a42ccce83ba5d2a6 Author: Matt Mower <mowerm@gmail.com> Date: Wed Feb 5 19:40:37 2014 -0600 PrivacyGuard: confirm permissions reset The button to reset all application permissions to enabled looks suspiciously like a refresh button. Prompt the user with a confirmation dialog to make sure they know what they've pressed. Change-Id: I0444c5bf8e9533feccf890055d34d3200609c6f6 Change-Id: I2e10cb4d395e2e7e5141d2fadada9e9b21cd7fbf
Diffstat (limited to 'res/menu')
-rw-r--r--res/menu/privacy_guard_manager.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/res/menu/privacy_guard_manager.xml b/res/menu/privacy_guard_manager.xml
new file mode 100644
index 0000000..5e41e46
--- /dev/null
+++ b/res/menu/privacy_guard_manager.xml
@@ -0,0 +1,29 @@
+<?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.
+-->
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:id="@+id/reset"
+ android:showAsAction="always"
+ android:icon="@drawable/ic_settings_backup"
+ android:title="@string/privacy_guard_reset_title" />
+ <item android:id="@+id/show_system_apps"
+ android:title="@string/privacy_guard_manager_show_system_apps"
+ android:checkable="true" />
+ <item android:id="@+id/advanced"
+ android:title="@string/privacy_guard_advanced_settings_title" />
+ <item android:id="@+id/help"
+ android:title="@string/privacy_guard_help_title" />
+</menu>