History log of /packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1e34a1bead76f4c3fa6e2baec327e5846f4c23fd 06-Dec-2012 Robyn Coultas <coultasr@android.com> Always log the alarm time

Bug: 7579100
Bug: 7634943

Intentionally verbose to provide useful information in bug reports.
Tuned format of alarm time to include day of week

Change-Id: I54fb5ee75c28868adf98c0d9d1f3fb25f55a6af6
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
be452965e9b8467d2f640ccee1002119bb7d2761 30-Nov-2012 Robyn Coultas <coultasr@android.com> Distinguish replacing alarm from dismiss

Bug: 7565654

AlarmAlertFullScreen was doing a finish on the signal from AlarmKlaxon,
so the simultaneous new intent from AlarmReceiver was not processed.

Change-Id: Ia681dfa2986a98e522ca6f0590a731a03497f9f4
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
5c464d35f230912053d7a5873dd6b59ca6e11852 24-Oct-2012 Isaac Katzenelson <isaack@android.com> New digital clock widget for Clock

Bug: 7390795

Added a new widget with its own provider and service and factory.
Factory extends a broadcast receiver and listens to all time
changes, locale changes, changes in world clock and alarms.
Added broadcasts for changing the world clock's user cities list
and for setting the next alarm.

Change-Id: Ida4bbd619da941fb46505cb2ac653fde0a41a97f
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
9e33fe399ce41766dc0a2d6e8f3e2fef0d30f6c1 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/Alarms.java
0cb70993e26f300f92423bfced0d8cb3efc3f304 05-Oct-2012 Chiao Cheng <chiaocheng@google.com> Adding undo feature for alarm swipe delete.

Bug: 7288024
Change-Id: I5fdbeff6dd63a2ce56371d531f120aaf7da3a71a
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
5c3795c271bc6160f0ae2056627e9e96ffdc335c 02-Oct-2012 Chiao Cheng <chiaocheng@google.com> Completely new alarm list with in-place editing.

- No longer using separate dialog for setting alarms in the normal workflow.
Set alarm dialog is still needed to handle external extends. Fate of old
set alarm activity is still to be decided.
- Removed dialog theme for sw600dp screens.
- Added label edit dialog.
- Added custom on/off button to improve smoothness of clicks by increasing
hit box of clickable area.

Bug: 6164920
Change-Id: I19567658535f3ec78755328a147376a81d5363a8
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
421751e187dfa61bc1e48b52cdaf366628b06dd4 27-Sep-2012 Isaac Katzenelson <isaack@android.com> New world clock

Change-Id: I772726bc26db55e93c22b1add6fa4081f84b01a5
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
99ae7660f1e5e4645c889e78e26d44de20a7caf3 13-Sep-2011 Andy McFadden <fadden@android.com> Make sure cursors close

Rearrange try/finally.

Bug 5279462

Change-Id: I44d8570b94e9780c78d93c131d88227a04659ddc
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
8304c6e63ee1ff86208bac6f79285905027e95e8 25-Aug-2011 Paul Westbrook <pwestbro@google.com> Fix dropped alarm when snoozing second

When calculating the next alarm event, make sure to take into
account the snoozed previous alarms with the upcoming alarms.

But, now that we allow for another alarm to happen while a previous
one was snoozed, we need to allow for multiple snoozed alarms.

Once we allow for multiple snoozed alarms, we need to be able to allow
for each to be canceled individually.

Bug: 4769415
Change-Id: Icc825a8d892e7b9f53e21499a7af2322b8acbe77
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
77f14bd0ce48db935911da5d0a92b6348e6197fb 15-Dec-2010 Patrick Scott <phanna@android.com> Implement EXTRA_SKIP_UI.

Change SetAlarm to take an alarm object instead of just the id. Have
HandleSetAlarm pass the new Alarm object to the activity if EXTRA_SKIP_UI is
false.

Update TestAddAlarm to toggle the UI.

Bumped version number.

Bug: 3284120
Change-Id: Ie84ac8e3d7a63bfd64e40c626e577ce8b1f371b9
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
501a153616bd44880b587447788990d83f433a8f 04-Nov-2010 Patrick Scott <phanna@android.com> Use time instead of alarm.time for non-repeating alarms.

Bug: 3155418
Change-Id: I66730a801b7d74da0c0f1af8d1855539146487a9
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
bababb66c17c665d374313da47e2f3734adec83a 21-Oct-2010 Patrick Scott <phanna@android.com> Fix 24 hour display on the lock screen.

Bug: 3120148
Change-Id: I072b64499df3d8f55fadad1746df95dffc73ecdc
/packages/apps/DeskClock/src/com/android/deskclock/Alarms.java
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