History log of /packages/apps/DeskClock/src/com/android/deskclock/provider/AlarmInstance.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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