cmsdk: Add permissions for ALARMS.
Change-Id: Ibf8f8a51b97d4c90dcddb11f093e64d82b478f44
diff --git a/cm/res/AndroidManifest.xml b/cm/res/AndroidManifest.xml
index 35fdd0c..2c18466 100644
--- a/cm/res/AndroidManifest.xml
+++ b/cm/res/AndroidManifest.xml
@@ -88,6 +88,28 @@
android:description="@string/permdesc_writeSecureSettings"
android:protectionLevel="signature|system|development" />
+ <!-- Allows an application to write alarms to the default alarm clock application
+ <p>Not for use by third-party applications. -->
+ <permission android:name="cyanogenmod.permission.WRITE_ALARMS"
+ android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
+ android:protectionLevel="system|signature"
+ android:label="@string/permlab_write_alarms"
+ android:description="@string/permdesc_write_alarms"/>
+
+ <!-- Allows an application to manage alarms on the default alarm clock application -->
+ <permission android:name="cyanogenmod.permission.MANAGE_ALARMS"
+ android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
+ android:protectionLevel="normal"
+ android:label="@string/permlab_manage_alarms"
+ android:description="@string/permdesc_manage_alarms"/>
+
+ <!-- Allows an application to read alarms from the default alarm clock application -->
+ <permission android:name="cyanogenmod.permission.READ_ALARMS"
+ android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
+ android:protectionLevel="normal"
+ android:label="@string/permlab_read_alarms"
+ android:description="@string/permdesc_read_alarms"/>
+
<application android:process="system"
android:persistent="true"
android:hasCode="false"