History log of /packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8d659d7d0da84881b7312e48b5ec36ecdca9a166 20-Jul-2015 Annie Chin <afchin@google.com> Cancel times up notification on RESET, DELETE, or DONE.

Bug: 22120450

Previously operated under the assumption that the timer screen
would be open (thus no notification) when dismissing timer from
the wear.

Change-Id: Icde5c5df79f23d744ded119af415d34ba6f18a0e
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
6b7d6b9bc2f3b5b2d744224094461cf98af10f68 16-Jul-2015 Daria Evdokimova <dariaevdo@google.com> Canceling PendingIntent

This is necessary to make the tests in ag/727375 work
for when there shouldn't be a PendingIntent for
a stopped timer.

Change-Id: Ia07f4e32ec9784c6b807f278cdb1a9464f004f37
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
79a6a3c37392c7844c573999da5159653e308c5b 06-Jul-2015 Annie Chin <afchin@google.com> Do not updateTimesUp for timer label changes.

Bug: 22181821

Label changes do not affect timer firing times, so eliminate the
unnecessary update in that case.

Change-Id: I61b46085c268f19342022b5e0a6a62aef4652093
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
c117a1900fa194ee8822b376186b320d61c38e33 30-Jun-2015 Annie Chin <afchin@google.com> Update timer hun notification + icon.

Bug: 22128457

Tint icon black in API21+; leave white in KK.

Change-Id: Iabe485859450e2abbfa1af895ba93a23bee53e18
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
671e4cb3a39a6766b21280a9efd450e57026ace9 12-Jun-2015 Annie Chin <afchin@google.com> Localize numbers throughout app.

Bug: 21650094

There was inconsistent localization for certain numbers.
Fixed the following:
-Alarm set toasts
-Timer notifications
-Snooze duration (Settings)
-Auto silence duration (Settings)

Change-Id: I2842afa9b2e5d730f2652d9acb8cccffe540a170
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
5f594531901d5f562c0c6a8e1d4ffd2e57709764 27-May-2015 Daria Evdokimova <dariaevdo@google.com> Added Voice Action Intents

Added Voice Action Intents for Alarms, Clocks, Timers, and Stopwatch.
Fixed bugs that prevented the UI from going idle when
a timer/stopwatch is running.
Added Tests for intents from HandleVoiceApiCalls.
Removed static imports in HandleApiCalls.
Fixed a bug that didn't cancel a pending intent for an alarm
after it was deleted.
Integrated Intent Actions based on updates to AlarmClock.java MNC.

Bug: 21337563
Bug: 21337557
Bug: 21336697

Change-Id: If82bfad6487989839defc81483dff603c53e7cb8
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
50ab55f5778342f83d0fcb2e6b2c3e8cae91ca8a 09-May-2015 James Lemieux <jplemieux@google.com> Add uniform event tracking to DeskClockGoogle

DeskClock has now been littered with calls of the form:
Events.sendEvent(category, action, label);

DeskClockApplication handles these events by logging them with a
uniform log tag.

Category is one of: Alarm, Clock, Timer, Stopwatch
Action describes what happened: e.g. create, delete, snooze, dismiss, etc.
Label describes where the action originated: DeskClock, Notification,
Wear, Intent, Voice

Bug: 20038553
Change-Id: Ia2485582e9da9e37a6858db3b61a68c9102c778d
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
7f5209b10f08a3919245552516e60b4f07982a04 27-Feb-2015 Annie Chin <afchin@google.com> Update snooze notification icon (white for pre-L, tint for L+)

Also rename all notification pngs to follow the convention
ic_NAME_COLOR_DP.png and all notification drawables as ic_NAME_DP.xml

Bug: 19458148
Change-Id: I7da333e4715d84f5c59dbc8be2c62ef24b3176d8
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
b7224ca55c54d7298d50f28f031197f442318a19 25-Feb-2015 Annie Chin <afchin@google.com> Update timer notifications to use NotificationCompat.

Change-Id: I5223dad4ab8149d31455d41a77fe80754b072358
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
79c464e19f63a44a416eb4844702a7ba772b9072 20-Feb-2015 Annie Chin <afchin@google.com> Make firing timer pre-L compatible.

Remove L-specific notification method calls
Use circular reveal animation only on L+

Bug: 19386648
Change-Id: I2a1f418d187dcca3970b982a1eb5ff6e67c37a46
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
bae6862c87f851be4bbcbab57ac71ac5385c9850 24-Jan-2015 James Lemieux <jplemieux@google.com> Sync timers to externals

Change-Id: I676bda0f7358b4cbb0240c919240a5e353b04896
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
86097d8e86ef480d0aeb7475e22d27d33e1a1e87 14-Oct-2014 Budi Kusmiantoro <budi@google.com> Set deskclock notifications to local only

Bug: 14683075
Change-Id: Ie3d8843223196e672e5324ef51b9bafdf1727a82
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
49e5e2526ea6ba3ec56247d04bd8158f560a6074 02-Oct-2014 Budi Kusmiantoro <budi@google.com> Show alarm/timer notifications on lockscreen

Bug: 17509785
Change-Id: Ic9a0755e629012b5a5b04d2e0728a5ad664b6e72
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
50733f22a2989a9e3df15ecbdb1ef2ea49bbce01 30-Sep-2014 Budi Kusmiantoro <budi@google.com> Firing Timer should use foreground broadcast

Bug: 17695520

We did a similar fix in the past for b/11122055.

Change-Id: If3c561cad240a156c94410826223664e24f007c7
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
c5deecb3c25796538d762857692182bf3e5f1e21 17-Sep-2014 rachelzhang <rachelzhang@google.com> Timer UX update

Bug: 17548145
Bug: 17549427

* Change reveal animation to rotate
* Change timer fire reset from reset to stop
* Swap delete and add buttons on timer

Change-Id: I5b72cbee92bba25d811bb28efc62d89b35a4e9a5
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
3c16add0cffe1f7a537acca8537cdd3bf140ba97 16-Sep-2014 Budi Kusmiantoro <budi@google.com> Fix NPE when timer to be updated is already deleted.

Bug: 17521285
Change-Id: I26cf8836c2aed90fbc31e900728baa6d94c177ce
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
9b8a34180ec2f66511311005bbb92c635a4fb102 16-Sep-2014 rachelzhang <rachelzhang@google.com> Update stop assets to reset assets

Bug: 17481809
Change-Id: I8a214fef7cc86e173803f3f309fb56c32d81580a
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
d50ff479c37e33de776c339bc93df308f4ac7ab0 08-Sep-2014 rachelzhang <rachelzhang@google.com> Update timer and stopwatch UX

Bug: 15758027
Bug: 15757778

Change-Id: I19e72adb33afa9815c9b5a57d1d7fb04e0ff0243
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
78a59e3b650f4a5bde3971b90e9563395815be66 11-Sep-2014 Budi Kusmiantoro <budi@google.com> Add xxx assets

Bug: 17302384
Change-Id: I90168769d10826861df6ae4416f6ea7c70cd6ef2
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
692718499fc480f29a9aabcc3cb38ba6bb7847ce 21-Jul-2014 Budi Kusmiantoro <budi@google.com> Alarms and Timers should use Notification.CATEGORY_ALARM

Bug: 16457077
Change-Id: I71b133fd94fca00967a46279fe98bf10c6962607
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
4ae58071f0a48099021e5d141ed98606cfe999cc 10-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Clear logs in Clock

10732543

Change-Id: I71a9b183a2f9f6bd9f17b88c36e58188eef198ec
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
f1ce98a6e2972854968488d2a28adbc29364b0f9 09-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Update SDK version check

Bug: 10732543
Change-Id: I5141cee374778888f6b27ea9726ccdee0daca7cd
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
5a90946cb69e50a9cbf907dda69bfc55087f63a9 18-Sep-2013 Paul Sliwowski <psliwowski@google.com> Fixed +1 issue on timers.

Bug: 10805692
Change-Id: Ic039d5db6f4ace10e1f855ef95e8614aeef0ad0f
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
e332c5744e5741a6149afd226e1f193111dcb7de 27-Nov-2012 Robyn Coultas <coultasr@android.com> Adding Timer times-up notification

Bug: 7498098
Bug: 7564768

Complies with Section K of wireframes with the agreed exceptions:
(1) Show "Done" instead of "Stop" when timer is delete after use
(2) Clicking on stop does not launch DeskClock
Features to QA:
- Updating label, updates notification
- Selecting +1m when desk clock not running updates the in-use notification
- Times-up notifications appear if and only if the Timer Buzzing Activity is not shown
- Selecting +1m or Stop(or Done) updates the desk clock timer tab

Change-Id: Ia27f86ad6ba1a3bdba50403a6fdb86208f911637
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
74be96baee671f1f62b4ed543ba793336012ef24 29-Aug-2013 Isaac Katzenelson <isaackatz@google.com> Disable +1m button when cannot add a minute

Bug: 10152084
Added a disabled asset.
Disable +1m button is the timer is less than 60 seconds below the max

Change-Id: Ib6dc57ffddf267b5bd8bac7d45e3b1b2af2695ea
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
4fd80b58da8ad66e0e4a23cbf7c900174727fb4e 07-Aug-2013 Robyn Coultas <coultasr@android.com> Guarding new SDK19 code

Change-Id: I802e56d859c935d6492bae54eccb15d17fc3f840
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
eef7e5180a7d0e8b7c2edfdc12ab764055788e1c 17-Jul-2013 Christopher Tate <ctate@google.com> Use the new AlarmManager.setExact() for our alarms

Alarm clocks tend to need guaranteed timely delivery of their alarms,
so they are well justified in needing the new API.

Bug 9532215

Change-Id: I383f49c19bc8e8f9bceb8c246d972fb838da092d
(cherry picked from commit 44239e1dd2c7577b923a29bfc75dbcaf83590088)
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
d82ec8feb07d6d1f0f9539f75b1b84b3ae1e74d4 03-Jun-2013 Sam Blitzstein <sblitz@google.com> Don't update timer notification unnecessarily.

Timer notification was updating itself while the timer was stopped.

Bug: 9248101
Change-Id: I585266e50dd8c54242b06e541d9b06cead6ab848
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
58c329f52d7952597ae7a4e88fc2ec9e15ddd93a 19-Oct-2012 Robyn Coultas <coultasr@android.com> Renumbered Timer+Stopwatch notification id

Bugs: 7367575, 7367541

Change-Id: Ie64fa1ebfb38976a13385c50621bd71d81068dd9
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
98b2b05e7a0cebcd6e065bdd0b25cb6eb86b497c 12-Oct-2012 Robyn Coultas <coultasr@android.com> Show TimerAlertFullScreen upon any timer expiry

Bug: 7333666
Change-Id: If4f3583e4963d75a88ba8a4967475dbde76a7868
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
7cff0e83debe70133aad4cf22163263b16d4a255 15-Oct-2012 Isaac Katzenelson <isaack@android.com> Change timers to use system clock

Bug: 7344200
Change-Id: I10e09828b720a0101afc76391faf3357987684f8
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
72332c2290d17c344ece074726f72b35ea469f31 11-Oct-2012 Sam Blitzstein <sblitz@google.com> Adding ability to label timers.

Bug: 7203259
Bug: 7324818
Change-Id: I482f4500bfab29ec0ace9b661d72e79473c40f25
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
184aa695ef173081a692be38d9b23560ad34b789 07-Oct-2012 Sam Blitzstein <sblitz@google.com> Adding a ticker to buzzing timer notification.

Bug: 7293899
Change-Id: I8a5ff90f74eff9bfc803e8bdcd39c05e8b003047
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
2d0cd10f351ac3c0d04850f019d8803d100b2a1a 04-Oct-2012 Sam Blitzstein <sblitz@google.com> Several bug fixes for timer notification.

A buzzing timer notification wasn't getting removed when the timer was deleted, or when +1minute was hit.
Timer notification was overlapping with stopwatch notification.
Ongoing timer notification didn't disappear immediately when a timer went off.
Small typo in timer notification.

Bug: 7282162
Bug: 7274564
Change-Id: I3e9f992f23c0739ed356f738b182ea3d09590524
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
733afe52e37148f2f1d36436c1a1eadcad5b471b 30-Sep-2012 Robyn Coultas <coultasr@android.com> Adding full-screen timer alert activity.

Bug: 7230202
Change-Id: I3e9a0fcf21837a54703af386f8e69b93a789edfc
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
b6a815a52fd31a96b51e51ef6275a68bed73c2c5 28-Sep-2012 Sam Blitzstein <sblitz@google.com> Adding timer notifications.

Bug: 7255233
Change-Id: Id4d91a0e857d4553bd42a878a21c8a3e1bb9bf06
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
5cacdd0b56950cf6a5f28e780ed07625a81bde53 25-Sep-2012 Isaac Katzenelson <isaack@android.com> Fix timer ring stuttering

Bug: 7225700
Change-Id: Iced938e996442a41ac1b2be365cc1c8c9a01e472
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
3982c7f7458da18e3b08c23bf026828d0db77539 20-Sep-2012 Isaac Katzenelson <isaack@android.com> Move to timer view when timer expires

Bug: 7203760
Change-Id: I85fadb7fc6b3ef7274676daf5c55ece7a913496e
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
dfb182f455aa07eb7319d32df6d9a14492884e2f 17-Sep-2012 Isaac Katzenelson <isaack@android.com> Add alert ring when a timer expires.

Change-Id: Id98275d27640d0de7a06bfada63986c2d34afff7
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
4ad5b75cd1c5ec94b2122f10f2f02137e1c0e9b2 11-Sep-2012 Isaac Katzenelson <isaack@android.com> More layou fixes

Change-Id: Ifde044952b4c3a522959628ec057028e5ba5bd8b
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java
815e2f7431c590086d5bd4eee5d7bf08108c77eb 08-Sep-2012 Isaac Katzenelson <isaack@android.com> New deskclock

Change-Id: I27f066b7fbc29eb3d4988a6aa901a6c9909fbcca
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerReceiver.java