aboutsummaryrefslogtreecommitdiffstats
path: root/cm
diff options
context:
space:
mode:
authorVineet Patil <vpatil@cyngn.com>2015-11-23 16:59:26 -0800
committerVineet Patil <vpatil@cyngn.com>2015-11-24 12:12:37 -0800
commit35fdbdab9507758693de72c7c864021d5f9de3f4 (patch)
treef5c70a069ef6b69c7c70fdaa191e622bc14f2739 /cm
parenta6cf63ac7d80cffee586eb4a910f4c8998bfe317 (diff)
downloadvendor_cmsdk-35fdbdab9507758693de72c7c864021d5f9de3f4.zip
vendor_cmsdk-35fdbdab9507758693de72c7c864021d5f9de3f4.tar.gz
vendor_cmsdk-35fdbdab9507758693de72c7c864021d5f9de3f4.tar.bz2
Protected apps components
Change-Id: I850d45e9aca6eff8221766830fce45468c8ca549
Diffstat (limited to 'cm')
-rw-r--r--cm/res/AndroidManifest.xml8
-rw-r--r--cm/res/res/values/strings.xml5
2 files changed, 13 insertions, 0 deletions
diff --git a/cm/res/AndroidManifest.xml b/cm/res/AndroidManifest.xml
index af2f10b..8a668d1 100644
--- a/cm/res/AndroidManifest.xml
+++ b/cm/res/AndroidManifest.xml
@@ -127,6 +127,14 @@
android:description="@string/permdesc_accessAppSuggestions"
android:protectionLevel="signature|privileged|development" />
+ <!-- Permission for adding/removing applications to protected apps
+ <p>Not for use by third-party applications. -->
+ <permission
+ android:name="cyanogenmod.permission.PROTECTED_APP"
+ android:label="@string/permlab_protectedApp"
+ android:description="@string/permdesc_protectedApp"
+ android:protectionLevel="signature|privileged" />
+
<application android:process="system"
android:persistent="true"
android:hasCode="false"
diff --git a/cm/res/res/values/strings.xml b/cm/res/res/values/strings.xml
index 3284321..d7ae4b5 100644
--- a/cm/res/res/values/strings.xml
+++ b/cm/res/res/values/strings.xml
@@ -77,6 +77,11 @@
<!-- Label to show for a service that is running because it is observing the user's custom tiles. -->
<string name="custom_tile_listener_binding_label">Custom tile listener</string>
+ <!-- Labels for the PROTECTED_APP permission. -->
+ <string name="permlab_protectedApp">add and remove applications to protected apps</string>
+ <string name="permdesc_protectedApp">Allows an application to be marked as protected
+ and can be locked</string>
+
<!-- Profiles -->
<!-- Names of default profiles. -->
<string name="profileNameDefault">Default</string>