aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cm/res/AndroidManifest.xml22
-rw-r--r--cm/res/res/values/strings.xml12
2 files changed, 34 insertions, 0 deletions
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"
diff --git a/cm/res/res/values/strings.xml b/cm/res/res/values/strings.xml
index 636ca3b..f404b52 100644
--- a/cm/res/res/values/strings.xml
+++ b/cm/res/res/values/strings.xml
@@ -46,6 +46,18 @@
<string name="permlab_useHardwareFramework">use hardware framework</string>
<string name="permdesc_useHardwareFramework">Allows an app access to the CM hardware framework.</string>
+ <!-- Labels for the WRITE_ALARMS permission. -->
+ <string name="permlab_write_alarms">directly change alarms</string>
+ <string name="permdesc_write_alarms">Allows an app to add, modify or delete all of your alarms.</string>
+
+ <!-- Labels for the MANAGE_ALARMS permission. -->
+ <string name="permlab_manage_alarms">toggle scheduled alarms</string>
+ <string name="permdesc_manage_alarms">Allows an app to turn on or off your scheduled alarms.</string>
+
+ <!-- Labels for the READ_ALARMS permission. -->
+ <string name="permlab_read_alarms">access scheduled alarms</string>
+ <string name="permdesc_read_alarms">Allows an app to read your scheduled alarms.</string>
+
<!-- Labels for the WRITE_SETTINGS permission -->
<string name="permlab_writeSettings">modify CM system settings</string>
<string name="permdesc_writeSettings">Allows an app to modify CM system settings.</string>