cmsdk: Add persistent properties API
* Add support for reading and writing values from/to persistent
storage. Requires the MANAGE_PERSISTENT_STORAGE permission, which
should not be available for general use by applications.
Change-Id: I8a793396d207f23fcda851c172372f2073778eec
diff --git a/cm/res/AndroidManifest.xml b/cm/res/AndroidManifest.xml
index 18ccc63..8c40827 100644
--- a/cm/res/AndroidManifest.xml
+++ b/cm/res/AndroidManifest.xml
@@ -113,6 +113,13 @@
android:label="@string/permlab_read_alarms"
android:description="@string/permdesc_read_alarms"/>
+ <!-- Allows an application to access persistent property storage
+ <p>Not for use by third-party applications. -->
+ <permission android:name="cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE"
+ android:label="@string/permlab_managePersistentStorage"
+ android:description="@string/permdesc_managePersistentStorage"
+ android:protectionLevel="system|signature" />
+
<application android:process="system"
android:persistent="true"
android:hasCode="false"