summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider/AlarmClock.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix build: documentation error in AlarmClock.java.Johnson Hsieh2015-06-041-1/+1
| | | | Change-Id: I3f64df1857c516d4c6a4ed56094a27f489eddef3
* Updates AlarmClock intent API.Johnson Hsieh2015-06-041-50/+71
| | | | | | | | | | | | | | | | | | | | | | | | Changes to the AlarmClock intent API based on feedback from Alarm team: 1. s/VOICE_CANCEL_ALARM/DISMISS_ALARM/g - "Cancel" is a bit unclear, so we're changing it to "dismiss". Also, remove "VOICE_" since we should also add support for this in multi-modal. 2. Removed DELETE_ALARM - we will likely not complete this for Android M. 3. Removed ALARM_SEARCH_MODE_NONE = "none". Instead, if EXTRA_ALARM_SEARCH_MODE is missing (and alarm data URI is not given), then: * If exactly one active alarm exists, it is dismissed. * If more than one active alarm exists, the user is prompted to choose the alarm to dismiss. 4. Add ALARM_SEARCH_MODE_LABEL, which allows searching for alarms by a (partially) matching label. 5. Add SNOOZE_ALARM for snoozing an alarm, with optional extra EXTRA_ALARM_SNOOZE_DURATION. Change-Id: I39502532e54d5f0fe51a8545a4c586615f5e5e89
* Add VOICE_CANCEL_ALARM/VOICE_DELETE_ALARM intents.Johnson Hsieh2015-04-061-1/+143
| | | | | | | This will be used by the Voice Interaction API. For details, see https://docs.google.com/document/d/1_yRTbn-BxFi8Lc6bVmJ4r2dg3-05qUxf9yChiZXiiew/edit#. Change-Id: Icf4371ff351298ef7c1158e5e2d35561fc6cef67
* Merge "Add ACTION_SHOW_ALARMS to Clock API" into klp-devIsaac Katzenelson2013-08-291-0/+9
|\
| * Add ACTION_SHOW_ALARMS to Clock APISam Blitzstein2013-08-291-0/+9
| | | | | | | | | | | | | | | | Add in an action to jump to the alarms page of a clock app. Helpful for quick settings, for example. Bug: 10506871 Change-Id: Ia18708c7962543911864dfaefa17d5356eed1b45
* | Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly.Sam Blitzstein2013-08-281-35/+17
|/ | | | | | | | | As per UX, we're removing the EXTRA_DELETE_AFTER_USE flag. Instead, apps that pick up these intents should automatically delete alarms and timers, unless the user is taken into the app to explicicitly specify the time/length. Change-Id: Ibd582788c04e121427467f6549759c8b7706df8c
* Fix VALUE_RINGTONE_SILENT ref.Sam Blitzstein2013-08-211-4/+4
| | | | Change-Id: I115c8d2e0e972f6d7d732071d26ae5f489b926f3 (cherry picked from commit 044ffbbbaa7dc07c2aa40a35d5d13b1b3e7bd0c0)
* Extend AlarmClock API (just slightly)Sam Blitzstein2013-08-211-27/+190
| | | | | | | Add some extras to SET_ALARM action. Add SET_TIMER action. Change-Id: I436864ca875a7eb1c424d0d21882d624780d6ff1 (cherry picked from commit fe7dedefe9c146209f73306dbd1584f251f85d1c)
* Add EXTRA_SKIP_UI to skip the confirmation page.Patrick Scott2010-12-161-0/+11
| | | | | Bug: 3284120 Change-Id: I6043ab859a813c7a70a3b782394dc5ace4890294
* Add new Alarm provider class for setting an alarm.Patrick Scott2010-09-241-0/+71
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