summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Christine Franks <christyfranks@google.com> 2018-01-22 23:23:25 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-01-22 23:23:25 +0000
commitbae5e6bda1273347d76afe48acb5ea7256f94efc (patch)
tree173914256dcd0057b0c36d49c7d4b9288771f03b
parent58d241ce54588ddf42ab1fca5c81f01df2f50c4c (diff)
parentfa4939e2f02b92e9b18dc933282a968597781ecb (diff)
Merge "Change selection strategy for ACTION_DISMISS_TIMER"
-rw-r--r--core/java/android/provider/AlarmClock.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/java/android/provider/AlarmClock.java b/core/java/android/provider/AlarmClock.java
index 21694575631a..7ad9e013c617 100644
--- a/core/java/android/provider/AlarmClock.java
+++ b/core/java/android/provider/AlarmClock.java
@@ -154,9 +154,12 @@ public final class AlarmClock {
public static final String ACTION_SET_TIMER = "android.intent.action.SET_TIMER";
/**
- * Activity Action: Dismiss timers.
+ * Activity Action: Dismiss a timer.
* <p>
- * Dismiss all currently expired timers. If there are no expired timers, then this is a no-op.
+ * The timer to dismiss should be specified using the Intent's data URI, which represents a
+ * deeplink to the timer.
+ * </p><p>
+ * If no data URI is provided, dismiss all expired timers.
* </p>
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)