summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2010-09-22 08:16:53 -0400
committerPatrick Scott <phanna@android.com>2010-09-24 13:52:14 -0400
commita73c4b082c2ab38831fc57c6bfb425d32ffe2aa4 (patch)
tree2de288f4d5523f374d6ab3bfce2fdf8abbcc0b87 /api
parent880dfe4f675128188f8d598f2025a417ccabd1bf (diff)
downloadframeworks_base-a73c4b082c2ab38831fc57c6bfb425d32ffe2aa4.zip
frameworks_base-a73c4b082c2ab38831fc57c6bfb425d32ffe2aa4.tar.gz
frameworks_base-a73c4b082c2ab38831fc57c6bfb425d32ffe2aa4.tar.bz2
Add new Alarm provider class for setting an alarm.
The new class provides static variables for creating an intent to broadcast to applications implementing the alarm clock. A new permission has been added and applications are recommended to require this permission if accepting the set alarm broadcast. Change-Id: I7b1014acdc54371cbda19bcf9b5c395b647aa413
Diffstat (limited to 'api')
-rw-r--r--api/current.xml72
1 files changed, 72 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index 956f2b8..4a81b42 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -947,6 +947,17 @@
visibility="public"
>
</field>
+<field name="SET_ALARM"
+ type="java.lang.String"
+ transient="false"
+ volatile="false"
+ value="&quot;com.android.alarm.permission.SET_ALARM&quot;"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="SET_ALWAYS_FINISH"
type="java.lang.String"
transient="false"
@@ -131718,6 +131729,67 @@
</package>
<package name="android.provider"
>
+<class name="AlarmClock"
+ extends="java.lang.Object"
+ abstract="false"
+ static="false"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<constructor name="AlarmClock"
+ type="android.provider.AlarmClock"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</constructor>
+<field name="ACTION_SET_ALARM"
+ type="java.lang.String"
+ transient="false"
+ volatile="false"
+ value="&quot;android.intent.action.SET_ALARM&quot;"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
+<field name="EXTRA_HOUR"
+ type="java.lang.String"
+ transient="false"
+ volatile="false"
+ value="&quot;android.intent.extra.alarm.HOUR&quot;"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
+<field name="EXTRA_MESSAGE"
+ type="java.lang.String"
+ transient="false"
+ volatile="false"
+ value="&quot;android.intent.extra.alarm.MESSAGE&quot;"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
+<field name="EXTRA_MINUTES"
+ type="java.lang.String"
+ transient="false"
+ volatile="false"
+ value="&quot;android.intent.extra.alarm.MINUTES&quot;"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
+</class>
<interface name="BaseColumns"
abstract="true"
static="false"