feat(alarms): ask which alarm, when the request names more than one

"Dismiss my alarm" with two alarms set is a question, not an instruction. When
the search matches more than one the app asks, in a dialog listing the
candidates; when it matches exactly one it acts without asking.

The Timers tab's setup effect no longer re-keys on a list that changes with
every readout tick.
This commit is contained in:
2026-09-23 11:02:20 +02:00
parent 02f3794ee8
commit 46a049f988
9 changed files with 420 additions and 1 deletions
+5
View File
@@ -230,4 +230,9 @@
<item quantity="one">%d minute</item>
<item quantity="other">%d minutes</item>
</plurals>
<!-- M9: the one question the AlarmClock contract has to ask -->
<string name="interop_dismiss_title">Which alarm?</string>
<!-- %1$s is the time, followed by the label when the alarm has one. -->
<string name="interop_dismiss_row_description">Dismiss the alarm at %1$s</string>
</resources>