diff options
| author | Sam Blitzstein <sblitz@google.com> | 2013-08-28 15:44:03 -0700 |
|---|---|---|
| committer | Sam Blitzstein <sblitz@google.com> | 2013-08-29 10:49:57 -0700 |
| commit | 2f7acd19be68e596d84246451de2295dbbd40404 (patch) | |
| tree | c2300613cd20d9ed022a8c9c3dc186b9b55fe433 /core/java | |
| parent | 627dd9b584a267b206bace8dc518287fe58b9563 (diff) | |
Add ACTION_SHOW_ALARMS to Clock API
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
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/provider/AlarmClock.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/provider/AlarmClock.java b/core/java/android/provider/AlarmClock.java index f3267ee233b3..57cbe8ed553e 100644 --- a/core/java/android/provider/AlarmClock.java +++ b/core/java/android/provider/AlarmClock.java @@ -88,6 +88,15 @@ public final class AlarmClock { public static final String ACTION_SET_TIMER = "android.intent.action.SET_TIMER"; /** + * Activity Action: Show the alarms. + * <p> + * This action opens the alarms page. + * </p> + */ + @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) + public static final String ACTION_SHOW_ALARMS = "android.intent.action.SHOW_ALARMS"; + + /** * Bundle extra: Weekdays for repeating alarm. * <p> * Used by {@link #ACTION_SET_ALARM}. |
