c6098ef1fc69fe117343cc2e3db0d2b97b2daa6f |
|
28-Sep-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
SharedPreferences commit -> apply. Change-Id: I3c54bcd78ed74107840254a9861dc68f9bec3cc8
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
|
aaeb8a227c7ea4ae124403b46cb4f673834f5536 |
|
27-Sep-2010 |
Patrick Scott <phanna@android.com> |
Add logs to track missed alarms. Turn on a few verbose logs to track a couple of cases where an alarm might be skipped or cancelled. Add a Log.wtf when an alert cannot be parsed as this is never supposed to happen. If we are returning from the AlarmReceiver due to some error, make sure to set the next alert. Bug: 3004064 Change-Id: I6879317b233ccb0497a5ed7b8259925cd00cf8e8
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
|
bb13b216f986fc75dbd82d38f2bd6b2fbeb08abd |
|
10-Aug-2010 |
Patrick Scott <phanna@android.com> |
Check for -1 id before modifying alarms. Bug: 2898729 Change-Id: I9f70ee40fbcebeae2028c19a3b355e5d1cc433d4
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
|
6064d3f7aabcb073dc3f917e049bc04c67fb6b29 |
|
03-Mar-2010 |
Patrick Scott <phanna@android.com> |
Have "Revert" go back to the original state of the alarm. Keep the original alarm state so that revert will reload the preferences from the original state. Have all preferences immediately take effect. When adding a new alarm, add the alarm if preferences change and then delete the alarm when reverting. Pop the set alarm toast only when changing the time or the enabled setting and the result is that the alarm is enabled. Otherwise there can be a lot of toasts showing while editing an alarm.
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
|
a3aba0c93c31e89045cca669418e85acfb4e22fb |
|
01-Mar-2010 |
David Ingram <davidi@google.com> |
Adds hooks to DeskClock so that other programs may kill or snooze a ringing alarm, and also a broadcast intent to inform interested parties when the alarm has been dismissed. Change-Id: I491c3a24a6bac33025665c799c76a743010e9761
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
|
232725e8c1b1b85a44857cedcc842dcd2c956dc2 |
|
17-Feb-2010 |
Patrick Scott <phanna@android.com> |
Disable the snooze if it matches the alarm that has been changed. The user most likely wants the alarm to fire at the time they just set so disable the snooze alert. Bug: 2421068
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
|
e46be904bd76dff5a13aeef12e9bfeddac7bbe81 |
|
27-Jan-2010 |
Patrick Scott <phanna@android.com> |
Moving alarm creation into SetAlarm. This change allows the user to create a new alarm and then press "Revert" without having already created the alarm. Refactor a few methods to take an Alarm object rather than all the alarm fields. The static method in AlarmClock to create a new alarm is no longer needed. Do some cleanup in AlarmProvider around intial values. Bug: 2338234
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
|
fe8dd39ee5e173f15337d09c36aa453a55364e98 |
|
20-Jan-2010 |
Patrick Scott <phanna@android.com> |
Unbundle the DeskClock. - Copy some framework resources into the app. - Add a new layout to SetAlarm to avoid using an internal id to obtain the content view. - Use a string literal to identify the ALARM_CHANGED intent. This is not ideal but is better than exposing the actual intent string for now.
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
|
22924b6afee333e16fb62a19f1ac044c87c528b5 |
|
16-Dec-2009 |
Patrick Scott <phanna@android.com> |
Check for null alarms and dismiss the snooze if the alarm is disabled. If the alarm that is currently active is deleted, disable snoozing the alarm. Bug: 2322130
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
|
c7edd6ea840e25cb04d090b6c29dc96c04d2be40 |
|
09-Nov-2009 |
Patrick Scott <phanna@android.com> |
Cancel the snooze if the user sets an alarm for before the snooze fires. If the alarm is enabled, check the snooze time to see if it needs to be cancelled. Remove the preference and notification if cancelled. Return the calculated time from setAlarm to avoid another calculation. Bug: 2139162
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
|
a21b2db5541b0bf20582572e4f072137ff46c69f |
|
28-Oct-2009 |
Patrick Scott <phanna@android.com> |
The snooze notification must be clicked to be cleared. Change all the notifications to ongoing. This means they cannot be cleared unless clicked. If the alarm is killed after 10 minutes, the notification is changed to a vanilla notification and can be cleared with the "Clear All" button. This change will be merged to the MR2 branch of AlarmClock. Bug: 2220016
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
|
fa954248b41b567dfa2ddd7bd063d3936a51758e |
|
16-Oct-2009 |
Daniel Sandler <dsandler@google.com> |
Moving things around a little in the new DeskClock. - Package is now com.android.deskclock - Launches in response to insertion in desk dock or DESK dialercode TODO next: split the AlarmClock activity into a DeskClock and AlarmList (or similar).
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
|