Add CMSettingsProvider and CMDatabaseHelper
issue-id: CYNGNOS-828
Change-Id: I01c08c0e432d6a941950a565e5ab6664664e2a7f
diff --git a/cm/res/AndroidManifest.xml b/cm/res/AndroidManifest.xml
index e664f54..5817946 100644
--- a/cm/res/AndroidManifest.xml
+++ b/cm/res/AndroidManifest.xml
@@ -69,6 +69,19 @@
android:description="@string/permdesc_useHardwareFramework"
android:protectionLevel="system|signature" />
+ <!-- Allows an application to write to CM system settings -->
+ <permission android:name="cyanogenmod.permission.WRITE_SETTINGS"
+ android:label="@string/permlab_writeSettings"
+ android:description="@string/permdesc_writeSettings"
+ android:protectionLevel="normal" />
+
+ <!-- Allows an application to write to secure CM system settings.
+ <p>Not for use by third-party applications. -->
+ <permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS"
+ android:label="@string/permlab_writeSecureSettings"
+ android:description="@string/permdesc_writeSecureSettings"
+ android:protectionLevel="signature|system|development" />
+
<application android:process="system"
android:persistent="true"
android:hasCode="false"