0777a082e248c33c2e5a32690bfcdbd5de7d3f9e |
|
05-Dec-2016 |
James Lemieux <jplemieux@google.com> |
Remove DataModel.getSharedPreferences() Bug: 33251787 All access to SharedPreferences now occurs privately within DataModel and UiDataModel. This ensures SharedPreferences are created precisely once and cached in member variables (in the delegate models behind DataModel). Tests can now be isolated from each other by rebuilding those delegate models. Change-Id: Ie7bf69bed13be1604e73dca6058877bc05e8afea
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
|
23629266834a251cb937a885e5223e5ae37cc6fa |
|
21-Nov-2016 |
Christine Franks <christyfranks@google.com> |
Fix janky RepeatDays animation Bug: 33039716 Test: manual - no apparent jank (or strict mode violations) during repeatdays expansion/contraction, and systrace reports no dropped frames during the animation itself. Change-Id: I923781f44a5db50534640ae605705f7437c805f4
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.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/AlarmInstance.java
|
9071670e9923dff8c5a6213efc8adae7a37412ad |
|
21-Oct-2016 |
James Lemieux <jplemieux@google.com> |
Handle SecurityException while updating next alarm time on K Bug: 32330397 Bug: 32272767 Bug: 32272516 Test: manual testing Change-Id: Id49264ae4903c80f6fb48db33963a2b93459ebc5
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.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/AlarmInstance.java
|
96422ae1795cb7f838fea49764163a5516846475 |
|
16-Feb-2016 |
Justin Klaassen <justinklaassen@google.com> |
Refactoring SharedPreferences to common location. Bug: 25860525 Change-Id: I0c55d34b17a2aa5fb94d9d562bebdcc2e44af4d0 (cherry picked from commit 942b3a3956221969c77f9abc447444505eea6929)
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
|
47807edd241c17c52b33722356c13fba2bbdaea0 |
|
19-Oct-2015 |
Annie Chin <afchin@google.com> |
Add unregistration to deleteOtherInstances() and fixAlarmInstances() Bug: 25064251 Bug: 24875808 Bug: 24668826 Unregistration also removes existing notifications for that instance. Potential fix for stale notification bug. Change-Id: I4d11fb6b4f0efe75e2318c38810e94a8ccb9c8a0
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
|
595e6b8c56a6810d0d3bd09669ae314fe0d5a902 |
|
03-Sep-2015 |
Annie Chin <afchin@google.com> |
Handle minor Alarm updates properly. Bug: 23776955 Update AlarmInstance database information after minor updates. Update any existing notifications in case the label has changed. Do not delete or set up new AlarmInstances on minor updates. Change-Id: I95b63ebed104ba3126d329369cdc6fb8d289f23c
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
|
bd9eae10b13e015d1997d06f13e9abe06a7f306b |
|
21-Aug-2015 |
James Lemieux <jplemieux@google.com> |
Present Clock's timer beep as the default ringtone A "settings" package was introduced as a byproduct of this CL. When choosing the preferred ringtone for timers, the default selection should play timer_expired.ogg which ships with the application. This is the only sound played on all prior version of the application. Known Issue: the dialog will label the default as "Default alarm sound". This will be fixed in a later CL. Change-Id: I4e9c6663c597038ec273b699cdda3a036b376350
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.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/AlarmInstance.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/AlarmInstance.java
|
66990ae9be2037bf41851cbf3a8518121b32ba27 |
|
20-Jun-2015 |
James Lemieux <jplemieux@google.com> |
Handle new AlarmInstance state: PREDISMISSED Includes a battery of test cases designed to document and specify how system time changes effect each state an AlarmInstance can inhabit. Change-Id: I7815cd6f082039591cdd8dd2b1517f12052a92c0
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
|
49b6cba9468fe3ccc91ec0efad26810085a8cae7 |
|
04-Jun-2015 |
Daria Evdokimova <dariaevdo@google.com> |
Refactoring HandleVoiceApiCalls Refactored HandleVoiceApiCalls to call private classes for AsyncTask. Changed the default behavior of DELETE_CLOCK when a city is not specified. Now it just opens the CitiesActivity where a user can choose which city they want to delete. Refactored notifySuccess and notifyFailure methods to make them static so that they are called from other classes and work for Async methods. Also added these two methods for every outcome of any voice action. Refactored HandleVoiceApiCalls to use the App context in all the async methods so that it doesn't try to use the activity context after the activity was finished. Changed DISMISS_UPCOMING_ALARM to use SEARCH_MODE's Change-Id: I897617659523f45a6d8d6b06f6469f0e3cb421da
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
|
e2ce410438088a3ea251f6e437c0515cb86f0ae4 |
|
06-Feb-2015 |
Annie Chin <afchin@google.com> |
Remove DeskClockGoogleExtensions. Change-Id: I848cd636ea16614b0b868509b554dff75a403264
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
|
b6ab4dc665dbf9003641d828fb8ce7fcaa984174 |
|
16-Jan-2015 |
Annie Chin <afchin@google.com> |
Wear notifications for companion alarms are now wear responsibility. Change-Id: Ibb26a0fd6791b0d1b185a902db6f3cd6238940ab
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
|
c60226e00e5d0a922b60b1d556a71ee2bab3a7a9 |
|
16-Jan-2015 |
Annie Chin <afchin@google.com> |
Add getFiringInstancesByAlarmId. Used to respond to snooze/dismiss messages sent from the wear. Change-Id: I50fb8558dc6ffd77f9acebfd1f6747cd2020de5d
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
|
cdbb71b08c13c84af850f4036febc0b90dcfcc7d |
|
12-Sep-2014 |
Justin Klaassen <justinklaassen@google.com> |
Improve AlarmActivity logging Bug: 17481822 - In order to better debug alarm firing issues, improve the log utility to log verbosely on engineering builds and to respect the current logging level. - Add more verbose logs to AlarmActivity. Change-Id: I8355a335c4ada84baa2e6aa6d368f3a69e7b4b98
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
|
87c0d2def7b0f693495c5034bf9fae12a05c1f69 |
|
27-Sep-2013 |
Paul Sliwowski <psliwowski@google.com> |
Fix scheduling bug when changing between months. Bug: 10817487,10967071,10967052 Change-Id: Ia97dc769d8345748d76ae0963faf4f4888450936
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
|
ef222b9053a8982d31fe32d78cdca3e02dd4c3e3 |
|
19-Sep-2013 |
Paul Sliwowski <psliwowski@google.com> |
Re-activate missed instances, if system goes back in time. Bug: 10710605 Change-Id: I30ede3b9822cbbeb3679d7b3f28f5a360cf1c618
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
|
6a9e04e0443ee22d4e1745a1f118e7b23c37e138 |
|
17-Sep-2013 |
Paul Sliwowski <psliwowski@google.com> |
Fix alarm clock silence time when set to none. Bug: 10786154 Change-Id: Ie8abaf7a695f1af4db1b3aa0bbc4f596baa2c9fd
/packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.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/AlarmInstance.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/AlarmInstance.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/AlarmInstance.java
|