Change selection strategy for ACTION_DISMISS_TIMER

Bug: 70336445
Test: make -j100 && cts-tradefed run cts-dev -m CtsAlarmClockTestCases

Change-Id: Ic7e3e6f32c873d62d52e39873401e3e8f2f39a0a
This commit is contained in:
Christine Franks
2017-12-07 15:30:37 -08:00
parent bef82eda3a
commit fa4939e2f0

View File

@@ -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)