6d4f77479b21becfa53f1368c96a89520b38e42e |
|
29-Nov-2016 |
Sean Stout <sstout@google.com> |
Workaround for Loader#onContentChanged() issue Bug: 32666035 Test: manual - step through debugger to ensure load happens on resume. Set multiple alarms using assistant to ensure it shows up in clock immediately. Change-Id: I04ee5baec4eb79dd3a97c6900770c1be38df292e
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
900ede28311ddf4502622009a3d5ab44a11b7264 |
|
10-Nov-2016 |
Christine Franks <christyfranks@google.com> |
Lint fixes Bug: 32021228 Test: ran release linter, and builds properly Change-Id: Ib8f6abf9c5c2fc88e0efdaec6d91d63e3941b8e9
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
c9446b52d9391e859e65d11e5342d84cfe3e781c |
|
05-Nov-2016 |
James Lemieux <jplemieux@google.com> |
Avoid fetching ringtone titles on the main thread Bug: 32645208 Bug: 32203879 The ringtone title cache is now primed when loading alarms and when loading ringtones for the picker. If the cache is already primed, no work is done. This will handle all cases except when alarms are created with custom ringtone uri, which is a very rare occurrence. Change-Id: Ib97c77e688f8055642af2c079f41a49e93a13a20
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
ff17acface9b98eba868fff0e2d70ddc85c5e4db |
|
31-Jul-2016 |
James Lemieux <jplemieux@google.com> |
Replace DaysOfWeek with Weekdays Bug: 27915335 Weekdays is designed to be immutable, as are all other data model objects. Change-Id: I9a12bdb17e439dbe79b735e9ed7e04940ea93048
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
e908ac49eb6a4a58587f3d59e01062ad8d8e20b5 |
|
24-Jun-2016 |
James Lemieux <jplemieux@google.com> |
SET_ALARM now accepts a deeplink to an Alarm Bug: 26747326 - Alarm.getUri renamed to getContentUri for consistency - AlarmInstance.getUri renamed to getContentUri for consistency - HandleApiCalls now fails on bad time input rather than showing the alarm creation UI Change-Id: I1e3969eb585f8937665aa63df178dbfe4a27bb6f
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
3a855e93d9fa93abc75fd7058f990518b600cd98 |
|
10-May-2016 |
James Lemieux <jplemieux@google.com> |
Make AlarmTest independent of device TimeZone Bug: 28681118 Change-Id: I9431e50a2a24b785091d20547935b949acb5670b
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
9699c4ab5817c103f804633ebef2d3c0d5db1f9c |
|
14-Oct-2015 |
James Lemieux <jplemieux@google.com> |
Account for DST when scheduling alarms Note: this bug only applies to alarms occurring during the missing hour when time jumps ahead in the spring. Bug: 19651361 Change-Id: I163f0d139fba6920dc5ff78d53791c983f416cb1
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
e10d62be00a99c19f2a111801d7f80ecb7baf336 |
|
29-Sep-2015 |
Annie Chin <afchin@google.com> |
Alarm content description now includes either existing label or "Alarm." Bug: 24066025 Previous content description was just the alarm time. Change-Id: Ibdd40aac04515a71da109b65716f8d909ed76fac
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
4c9234c459245f39a6d991a030027c383dfbf560 |
|
20-Aug-2015 |
Annie Chin <afchin@google.com> |
Also show preemptive dismiss for alarm in HIDE_NOTIFICATION state. Bug: 23360577 Change-Id: Id64874d67e791f7536e3056ba6a8e4e9a3c29188
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
6a59a7b2c034557bc8bc7481544db5cd1105a891 |
|
20-Aug-2015 |
James Lemieux <jplemieux@google.com> |
Alarms created from external intents use default ringtone Clock recently gained the notion of "application default ringtone" but this was ignored in favor of "system default alarm ringtone" when creating alarms from external intents. This behavior was fixed. A secondary cleanup moved the functionality in RingtoneDataManager into DataModel. Bug: 23353723 Change-Id: Id092101dc30ec6c48f59cf4f142778b08a6075de
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
effc01ce01f15cae466235d3a736389c84c7ebef |
|
05-Aug-2015 |
Fan Zhang <zhfan@google.com> |
Convert ListView to RecyclerView in AlarmClockFragment. Bug: 17425204 Bug: 23075718 Bug: 17324151 Change-Id: I85df81d7a8b352e37022953f57c5158a1d04797d
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
9c1f508c1f68bbbcb8fc42f8fc7748d63833fe89 |
|
31-Jul-2015 |
James Lemieux <jplemieux@google.com> |
Use try-with-resources everywhere DeskClock is 19+ and DeskClockMicroApp is 22+ so we can safely use try-with-resources everywhere. Change-Id: I41d0409b3fb499db90eb5cab19f578febc79fe47
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
e28d63671ccf81607dc47fa87b7abcf66ef22b86 |
|
23-Jul-2015 |
Annie Chin <afchin@google.com> |
isTomorrow() returns false for snoozed alarms. Bug: 21915450 Change-Id: Idb1a63527aa3a035192a7df1571ec24ee51a0bd8
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
381f4f17c8b2d4f0aac35eca56a315d129c5fb1e |
|
16-Jul-2015 |
Annie Chin <afchin@google.com> |
Implement preemptive dismiss from the alarms tab. Bug: 20950181 Bug: 21915450 The CursorLoader now reads from a table that is a join of the Alarms and AlarmInstances databases. Preemptive dismiss option only appears if alarm is within 2 hours of firing or snoozed. Minor layout adjustments in order to accommodate the two additional Views (one each for expand/collapse states). Change-Id: Ieb5f70414a87e912fc631459b03788594d3425a0
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
e6f73547d9fed9f9e0a44e6baf2894d317e6ef78 |
|
13-Jun-2015 |
Daria Evdokimova <dariaevdo@google.com> |
Picker UI for Alarms. Implements the UI for Alarms. When a user tries to DISMISS_ALARM and it's ambiguous which alarm they mean we show the UI that lets them pick an alarm they want. Change-Id: Ia70277db7d6b6ac4277604837ec7b14cd519b2c6
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
d68d58de285756f5094a33b12385f4989c76d9c4 |
|
09-Jun-2015 |
Annie Chin <afchin@google.com> |
Implement op changes for PREDISMISSED_STATE alarms. Bug: 21492917 Schedule a state change from PREDISMISSED_STATE to DISMISS_STATE at the original firing time for the alarm. Add rescheduling behavior for PREDIMISSED alarms; if TIME_SET lands in the appropriate window, stay PREDISMISSED; otherwise, reschedule alarm for proper next firing instance. Change-Id: I3856bac5bb1d4774a3a5284c12b320a2ac3debbe
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
2f2584bdcabbf2f114f48efcab7ceb0a34067761 |
|
08-Jun-2015 |
Annie Chin <afchin@google.com> |
Revert "Add dismissTime and dismissType to alarm table." Change-Id: I45e6af531f77be8486b9f1965bf5dd1e529247e3
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
b8e58a9c5e7cd32fbae98304629f88ed30a5a9a8 |
|
28-May-2015 |
Annie Chin <afchin@google.com> |
Add dismissTime and dismissType to alarm table. Bug: 21093797 Also bump ClockDatabase version to 8 and provide upgrade path from 7. Change-Id: Idea75c5ed567298236c3f06dd4df376761560152
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
c34e4a02bf9a8ef294891281fd46dcf8f6dd8d85 |
|
17-Apr-2015 |
Annie Chin <afchin@google.com> |
Correctly reschedule alarms on system time change. Reported issue: AlarmManager would not properly reschedule repeat alarm if the user manually adjusted date/time to before the next scheduled instance of the alarm. Steps to repro issue: 1.Set an alarm for 18:00 when system time is 19:00. 2.Modify the system time to 17:50 3.Note that alarm does not fire at 18:00 Thanks to Guotao Deng for identification and initial fix. Change-Id: I5f0b4101039471182aa5134f192650821ed5d84f
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
20dccf1991285ab46670521cea5adbc795b5be5e |
|
11-Sep-2013 |
Paul Sliwowski <psliwowski@google.com> |
Fix a few alarm state manager issues. - Prevent missed notification from starting app. - Fix alarmId issues on notifications. - Fix issue with missed alarms being re-enabled after timezone change. - Fix issue with missed alarm notification not dismissing properly. - Remove alarm noise on missed notification - Added safe guard to prevent duplicate alarm instances. Change-Id: Id9dd65e6ec59df1e6952c8a892022d20a09eb5a5
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
ab0d28c68a77bea2a4a2ee50378da3670a1dd939 |
|
27-Aug-2013 |
Paul Sliwowski <psliwowski@google.com> |
Refactor alarm manager code to use new Instance table. Change-Id: If0ef94f68383ebfcb4a0af697671c7854f33383d
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
306cd229622b2c353da51c04cd547a3995b0185e |
|
30-Aug-2013 |
Sam Blitzstein <sblitz@google.com> |
Merge "Change text of auto-silenced alarm notification." into ics-ub-clock-amazon
|
1c604c48ef4dd01e789e1fffb0dec8f815e0cd30 |
|
29-Aug-2013 |
Alon Albert <aalbert@google.com> |
Enhance SetAlarm API Add DAYS, VIBRATE, ALERT Implement implicit deleteAfterUse Change-Id: Ibe58394020987469aca4a7895ac591407e64ce5e
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
7fb70dc1d258ba1f36454f7871cafbc6aa49ec4f |
|
29-Aug-2013 |
Sam Blitzstein <sblitz@google.com> |
Change text of auto-silenced alarm notification. Show "Missed Alarm" as the title. Bug: 10516179 Change-Id: I860cbab622df0be7c4c8e0763c3e6be231f8a09f
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
8188813bc869d3df4885f9c2972f9cc85745b59b |
|
20-Aug-2013 |
Paul Sliwowski <psliwowski@google.com> |
Refactor and add new tables/daos to Content Provider. Changes includes: - Add new Instances table to hold alarm state - Add new Cities table to hold user selectable cities. - Add delete_after_use column to Alarms table. - Fix issue where alarmId was a int and not a long. - Move Alarm related code to Alarm dao. - Moved DaysOfWeek out of Alarm dao. Change-Id: Idd578bb3668099ec8f4b30fbe9b62b06158ab406
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|
b839a7d1f42a1f3d58887f5a3c7978791d508cdb |
|
22-Aug-2013 |
Paul Sliwowski <psliwowski@google.com> |
Move content provider classes to new package. Change-Id: Ida7d2d238f7ce25a3b0ddb23bdb2fbd84e7b2e2a
/packages/apps/DeskClock/src/com/android/deskclock/provider/Alarm.java
|