History log of /packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
50f499e72a0915950d7114e198217c8900743efd 14-Dec-2016 James Lemieux <jplemieux@google.com> Refactor to improve testability

Bug: 29538369
Test: manual testing via command-line intents
Change-Id: I3bae5cec89882840f8e678af6eff2b6b28f8532b
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
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/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java
70276091bb1305007cbd2b221dc1538b6fe83ad0 14-Nov-2016 Sean Stout <sstout@google.com> Adding logging to better track stable ID bug.

Bug: 30134986
Test: manual - Make sure logs don't crash app somehow
Change-Id: Ia764dad4117364787142f519f8fc157bac337501
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
a8e64905a52fac334c9780aad9c4d85fa84766d6 26-Oct-2016 James Lemieux <jplemieux@google.com> Bump logging priority to track down rare instantaneous dismiss of alarms

Bug: 32369608
Change-Id: I65b68677251bd3e2f96a5a0aa36df1991a71d1c9
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java
94dbbf10376d4ddf796c5c82de484f06a39d36e3 21-Jun-2016 Sean Stout <sstout@google.com> Alarm notifications now stack properly on Android N

Bug: 29388572

On Android N, alarm notifications should now stack as expected.

Change-Id: I46066f93cd863ad47d2567f2fb1878006ec2a560
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
c05bac1fbb2d84c28779d4b56314df6c1ea57ef1 21-Jun-2016 Sean Stout <sstout@google.com> All upcoming alarms can now be dismissed.

Bug: 19610062
Change-Id: If26d8462fdd1f5df0b9e2fcf7ee75e0c2d2efb47
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
0cccf92ace5615b3f197c40c07f3855a01a4d386 10-May-2016 James Lemieux <jplemieux@google.com> Fix update of next-alarm in widgets on KK
am: bc1e1ba8a9

* commit 'bc1e1ba8a9aee937b132822da15403cf4aab6f7a':
Fix update of next-alarm in widgets on KK

Change-Id: I5f7329188e5a7b2403220424a211fe8cb7fb09ce
bc1e1ba8a9aee937b132822da15403cf4aab6f7a 10-May-2016 James Lemieux <jplemieux@google.com> Fix update of next-alarm in widgets on KK

An application broadcast is used to signal the update of the next alarm on KK.
The corresponding intent filter was inadvertently removed from the manifest.

Change-Id: I30659a42ed598ca803e716d690d116b9d45eec4e
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java
821d4a64ba5e402e164b380c89db3ce4cacd045e 10-Feb-2016 Justin Klaassen <justinklaassen@google.com> Fixes to support multiple alarm instances

To properly support pre-dismissed alarms we need to support scheduling
the next alarm instance when the upcoming alarm is pre-dismissed.

- When scheduling the next alarm for the pre-dismissed instance, we need
to ensure that the earlier instance will be scheduled if a time jump
as occured.
- After a time jump has occured we need to fix the alarm instances in
reverse chronological order so that the later alarm instances (outside
of our relevant interval) will be deleted prior to re-scheduling the
earlier pre-dimissed instances.

Change-Id: I4c16e3da35578305793cc4c4b0ff83fd33de9f2a
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
d19fcfb13f6c32e17e50145cf2693b0c7acc76e5 27-Jan-2016 James Lemieux <jplemieux@google.com> Avoid IllegalAccessError while displaying missed alarm

Bug: 26714950

AlarmStateManager attempted to adjust the selected tab to be
the alarms tab in advance of firing an Intent that would scroll
to a given alarm. Since this occurred on a background thread,
the sanity thread check in UiDataModel was tripped.

The good news is that the receiving logic in AlarmClockFragment
*already* switches to the alarms tab when
AlarmClockFragment.SCROLL_TO_ALARM_INTENT_EXTRA is
present in the Intent, so the problematic call is unnecessary and
was removed.

Change-Id: I742fa92ce7e75b9064436f09dfcce3164fd6bc65
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
4b3a9b1b5c6fc9c55cf69e0fda169944a2931206 21-Jan-2016 Justin Klaassen <justinklaassen@google.com> Schedule next alarm instance when alarm is pre-dismissed

Bug: 26677719
Change-Id: I58270958fa1271e1901da9255342de81cf508b81
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
5ac08ffbd616b6fbeae8eb6b2555799669d428cf 15-Jan-2016 James Lemieux <jplemieux@google.com> Fix alarm not firing in memory-pressure situations
am: b76aa50f9e

* commit 'b76aa50f9e13e71e81b9d02cc3ebebaa73188d3e':
Fix alarm not firing in memory-pressure situations
b76aa50f9e13e71e81b9d02cc3ebebaa73188d3e 14-Jan-2016 James Lemieux <jplemieux@google.com> Fix alarm not firing in memory-pressure situations

Bug: 25846551

The original form of the code that fires an alarm is:
AlarmManager -> BroadcastReceiver -> Service.

The new form of the code that fires an alarm is:
AlarmManager -> Service.

Evidence exists that the system lowmemorykiller may elect to kill the
clock app after BroadcastReceiver.onReceive(...) completes but before
Service.onStartCommand(...) begins. When this occurs, the results are
disastrous as the clock fails to fire at the appropriate time.

To remove this possibility, all alarm state changes are delivered to the
Service. The methods that manipulate database state within
BroadcastReceiver have been made public and static and are called
directly from the Service to perform the same work as before. If the
alarm state transition is to the FIRING state, the AlarmService also
performs the work of posting the firing notification in the foreground.
All of this occurs during the handling of a single Intent on the same
thread within the service which should no longer provide
lowmemorykiller with any opportunities to prevent the firing of an alarm
by killing the clock app.

Change-Id: I3629a5b725a758f680f41611939a5bbeec23238a
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
c50c32566199ce96fd75b25d80604c005cab4d96 07-Jan-2016 James Lemieux <jplemieux@google.com> Schedule alarm state callbacks to occur even when device is idle

Bug: 26200446

Theoretically, the callback delivered by AlarmClock should ensure the
device is awake for delivery of the second intent that changes the
alarm state to FIRED.

This CL removes that reliance and schedules the AlarmManager callback
in a manner that will wake the device if it is dozing at the fire time.

Change-Id: Idaf41309850bd4d072b1c84c28b038ee0197c145
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
c624a3fb698c13312a5e14114c37f45e3b3438bc 22-Dec-2015 Justin Klaassen <justinklaassen@google.com> Fix build warnings

Bug: 26292420
Change-Id: Ib5d8b09fa9d70f408c3097654bae5b6906fac048
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
5e0c5c4846f73565bf07542f64bea8208002f55c 25-Nov-2015 James Lemieux <jplemieux@google.com> Remember the last selected tab between DeskClock launches

Bug: 24220917

DeskClock now permanently tracks the last selected tab using
SharedPreferences and restores it on subsequent restarts. Along
with this change came a large refactoring to the way tabs are
modeled and stored within the application. In particular:

- UiDataModel was created and answers questions about the
tabs that exist, their order, their display order and which one
is currently selected.

- DeskClock activity captures the tab change, records it in
UiDataModel and then reacts to tab changes from the UiDataModel

- Consequently, any area of the application may now alter the
selected tab programmatically by calling
UiDataModel.getDataModel().setSelectedTab(aTab);

Change-Id: I1c655d17c68c4c1cdf96bae1e9f2e3c4d9e2251a
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
9db86c49abf69c4dc5457973bdfa5288251d058e 22-Oct-2015 Annie Chin <afchin@google.com> Set AlarmInstance to DISMISSED_STATE before instance deletion.

Bug: 24636103
Bug: 25026017

In combination with ag/795890, may help solve the stale notification
issue.

Change-Id: I7f5f9da8cedd102544f7f34efd24b0dc7b8f38e0
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java
19abdb148ee0716b10b04df8ab02b4c780fab3ea 22-Sep-2015 Annie Chin <afchin@google.com> Bump logging for state changes.

Bug: 24268871
Change-Id: I3682822e505df5248e621692053c29da70ec6305
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java
58808d1d92fa4234bc73ff331fd2714423e2a737 17-Aug-2015 Annie Chin <afchin@google.com> am 11c6f5ed: Update system UI on predismiss.

* commit '11c6f5ed8fb3469094a6450918d87d7bb0801f33':
Update system UI on predismiss.
11c6f5ed8fb3469094a6450918d87d7bb0801f33 17-Aug-2015 Annie Chin <afchin@google.com> Update system UI on predismiss.

Bug: 23268400
Change-Id: I558971cf8497242dbbf7b981c1be8b175114eed8
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java
6e772588c929e836db23da9ac3e64db585c746f1 11-Aug-2015 Annie Chin <afchin@google.com> Cherry-pick NPE fix for AlarmStateManager.

Bug: 23016665
Bug: 23048187
Change-Id: Id2c8089a78052de0d7419ca3464f24b7cfd32e77
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
84bef27f6932a5d810185eb9ce179f44d2d93103 07-Aug-2015 Annie Chin <afchin@google.com> Null-check in case an AlarmInstance's Alarm no longer exists.

Bug: 23016665
Change-Id: I91489ef248a6153268acec6ba752df8cca7a1092
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
da6c5b10503f31b0e8d12bf7200278151ec4561f 01-Aug-2015 James Lemieux <jplemieux@google.com> Give up the dream of supporting pre-Kitkat

All SDK version checks are now routed through readable
cover methods on Utils. All code paths handling SDK
versions that predate Kitkat have been removed.

Change-Id: I876620ad34ab3d701789cb35904ccfe03c2d1e45
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
78606827bea82e64849bf3150c4f0216c31b9fd3 01-Jul-2015 Annie Chin <afchin@google.com> Do not dismiss snoozed alarms upon superficial updates.

Bug: 21470985

Superficial updates are changes that do not affect firing time of an
alarm such as label, ringtone, and vibration changes.
Repeat pattern, enable/disable, and time changes are major updates,
for which snoozed alarms will still be dismissed.

Change-Id: I3c2017eddedba995d60892c004423eb8de015bb2
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
74e4e029cf73f5366ef20993b752c5d7a0f557b3 25-Jun-2015 Annie Chin <afchin@google.com> Do not dismiss snoozed alarms after boot.

Bug: 22055851
Change-Id: I698efceaef3a2244766498fec19488d32d48598a
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java
20b0333326cd1bf43ff3ec86ee2787851ccb108d 17-Jun-2015 Annie Chin <afchin@google.com> Merge "Add null check in AlarmStateManager for handleIntent SHOW_AND_DISMISS." into ub-deskclock-business
15888e382f62473fd837bd04596f30906136bc92 13-Jun-2015 Daria Evdokimova <dariaevdo@google.com> Snooze intent

Implementation of SNOOZE_ALARM.
After SNOOZE_ALARM intent is received a toast
saying 'Alarm is snoozed for 10 minutes' is shown.

Change-Id: I8e9fc6fb81372d5af71bc98ff01749b45b69e53f
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
3d969193eaeed6ef1761a3e5eb7151a7a3156411 13-Jun-2015 Daria Evdokimova <dariaevdo@google.com> Change the toggle to off when DISMISS'ing 1 time alarms

When DISMISS_ALARM is triggered right now there is
absolutely no indication that an alarm is proactively dismissed.
It'll be even more of a problem when we change the Dismiss
window from 2 to 24 hours.
This CL sets the toggle to 'off' for 1 time
alarms so that it's clear that the alarm is dismissed.

Change-Id: I6d0fd0cafd5b3af8200767579a1a6dd46005df26
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java
fd8f7c8412ed802088be99d78366ed31e1c69b0e 11-Jun-2015 Annie Chin <afchin@google.com> Add null check in AlarmStateManager for handleIntent SHOW_AND_DISMISS.

Bug: 21756258

Also dismiss the notification for the now-invalid AlarmInstance using
a passed-in notification id.

Change-Id: I7a46d1b5893589cf13012757ddf3388c9e57a815
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
f855d573817c0437b6b84aa6a743e65b9d10f476 08-Jun-2015 Annie Chin <afchin@google.com> Add PREDISMISSED_STATE.

Bug: 21492917

Add state to ClockContract.
Add initial handling for new state in appropriate places: notifications,
voice actions.
Add method to AlarmStateManager to handle transitions to new state.
(For now, fall through to dismiss behavior)

Change-Id: I3619b5181cd9d2517e154cbaad9f64634847fda0
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
58e1c204c930ab5f77bce320bf5cca77a61060ed 22-May-2015 Annie Chin <afchin@google.com> re-submit ag/696248 (Adjust how snoozed alarms are rescheduled in
response to TIME_SET, TIMEZONE_CHANGED, and BOOT_COMPLETED.)

Bug: 21492917

Change-Id: I64aa3d2c7a257bb140c06284c038c65f673b86e7
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
461ac3add47a5bef9fe2719737449f4adbc1b58f 29-May-2015 Annie Chin <afchin@google.com> re-submit ag/675319 (Reschedule alarm on backwards time change)

Bug: 21492917
Change-Id: I077b1f190d5f2292fc04b878550c012761cda803
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
752049b5fb3f97fe0965bd16c1e9a160d4963e9d 28-May-2015 Annie Chin <afchin@google.com> am aa2de7b7: Revert changes from ag/675319 and ag/696248

* commit 'aa2de7b7626cacc537da9f46e242608938d35b7a':
Revert changes from ag/675319 and ag/696248
aa2de7b7626cacc537da9f46e242608938d35b7a 28-May-2015 Annie Chin <afchin@google.com> Revert changes from ag/675319 and ag/696248

Bug: 21492917
Bug: 21093797

Change-Id: I16558685b41579db4b6a8f4a3f8e51afcd3019f6
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
5f594531901d5f562c0c6a8e1d4ffd2e57709764 27-May-2015 Daria Evdokimova <dariaevdo@google.com> Added Voice Action Intents

Added Voice Action Intents for Alarms, Clocks, Timers, and Stopwatch.
Fixed bugs that prevented the UI from going idle when
a timer/stopwatch is running.
Added Tests for intents from HandleVoiceApiCalls.
Removed static imports in HandleApiCalls.
Fixed a bug that didn't cancel a pending intent for an alarm
after it was deleted.
Integrated Intent Actions based on updates to AlarmClock.java MNC.

Bug: 21337563
Bug: 21337557
Bug: 21336697

Change-Id: If82bfad6487989839defc81483dff603c53e7cb8
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
2a9ec6e19d379be348d4f8a5bad0fb17fa3d2129 22-May-2015 Annie Chin <afchin@google.com> Adjust how snoozed alarms are rescheduled in response to TIME_SET,
TIMEZONE_CHANGED, and BOOT_COMPLETED.

Bug: 21363078

1. Dismiss snoozed alarms after a reboot
2. Do not reschedule snoozed alarms for their next scheduled instance;
keep the snoozed firing time. AlarmManager will immediately fire alarms
that are registered for already-passed times.

Change-Id: I64aa3d2c7a257bb140c06284c038c65f673b86e7
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
50ab55f5778342f83d0fcb2e6b2c3e8cae91ca8a 09-May-2015 James Lemieux <jplemieux@google.com> Add uniform event tracking to DeskClockGoogle

DeskClock has now been littered with calls of the form:
Events.sendEvent(category, action, label);

DeskClockApplication handles these events by logging them with a
uniform log tag.

Category is one of: Alarm, Clock, Timer, Stopwatch
Action describes what happened: e.g. create, delete, snooze, dismiss, etc.
Label describes where the action originated: DeskClock, Notification,
Wear, Intent, Voice

Bug: 20038553
Change-Id: Ia2485582e9da9e37a6858db3b61a68c9102c778d
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java
b56387be289a1d060fd222cd572d8250f931d5ea 09-Mar-2015 Annie Chin <afchin@google.com> Fix NPE errors

Bug: 19660905
Bug: 19660904
-AlarmClockFragment Ringtone can be null
-AlarmStateManager instance can be null

Change-Id: I181464b0487c84d330f59feffc5aea3e579c28e4
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
326a477b5caf52c37c662f84309d08f8bcbe5dbc 24-Feb-2015 Budi Kusmiantoro <budi@google.com> Alarm state changes should use foreground broadcast

Bug: 18735460
Change-Id: I407a8e0068c71efb0472c611d5db1dec25241a82
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
e2ce410438088a3ea251f6e437c0515cb86f0ae4 06-Feb-2015 Annie Chin <afchin@google.com> Remove DeskClockGoogleExtensions.

Change-Id: I848cd636ea16614b0b868509b554dff75a403264
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
0b85e972ec29ec3201543cf313e42826919d11b8 05-Feb-2015 Annie Chin <afchin@google.com> Remove sendStateChangeMessage from DeskClockExtensions.

Change-Id: I271326a4a6d97e074f97e37bac80f7c9b0be130a
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
04407b5415b778cabaf1c2de59ec8b50d1366988 04-Feb-2015 Annie Chin <afchin@google.com> Refactor DeskClockExtensions.

Bug: 19252608
Change-Id: Ic3088306c5c81c96053f8c58f879c045b34ccb36
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
24a61f7e5abcb20579233bdaca6945a608b9e8c1 03-Feb-2015 Annie Chin <afchin@google.com> Merge "Refactor a bit of DeskClockGoogleExtension functionality." into ub-deskclock-army
db25685d5bfa66c29e7134a7b85913a5266027b1 02-Feb-2015 Annie Chin <afchin@google.com> Refactor a bit of DeskClockGoogleExtension functionality.

Bug: 19216709

Change-Id: Ib123a0c559e45642954851a5c5956ccbb9e41188
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
d77967b768d6fa7d1c2daa7d40e11a584513c464 31-Jan-2015 Annie Chin <afchin@google.com> Add a broadcast intent so pre-L AppWidgets can see "nextalarm" changes.

Bug: 19200823

Change-Id: I19b53ef240e3a0175fd00c8525def087811f42ab
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
f2ab305768026f2a55eed2992624fb1fcf4d1569 28-Jan-2015 Annie Chin <afchin@google.com> Expand DeskClockExtensions functionality

Change-Id: Ic17ea852caef61d579c5fe3a1a317812c3c09c79
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
7cc79c4e3cc1baf714d4f929b48e73d105e1e165 21-Oct-2014 Budi Kusmiantoro <budi@google.com> Provide accessibility feedback on alarm dismissed/snoozed

Bug: 17997109
Change-Id: I34005652373f52c397dcd5a8f1eb3417cfd8bea0
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
b4aacfb276d66f2bf02691e56d0d20fe6bab31a4 14-Oct-2014 Budi Kusmiantoro <budi@google.com> Allow snooze/dismiss to always go through

Bug: 17847960
Change-Id: I88413feaccaec10b8c049f9ae5d894c181a1dfd6
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java
024d88c96f484614197668e0ff47dc8dbb49d22f 27-Aug-2014 Budi Kusmiantoro <budi@google.com> No toast when snoozed from the fullscreen Alarm

Bug: 17300360
Change-Id: I5c42efd32669ec3bf85fd90c8348c76f83c8aef7
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
cf7aefac40facf9e8c4c053402dc210367ba607d 16-Aug-2014 rachelzhang <rachelzhang@google.com> Lock screen alarm

Bug: 17069217

Change-Id: I4aa31bf175a2a1191055bdabb67920106826e966
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
c0743272ad924bc97d335d695be3e6b32a83dd7d 09-Jul-2014 Adrian Roos <roosa@google.com> Migrate DeskClock to AlarmManager.setAlarmClock

Updates AlarmNotifications to set alarm info via
the new AlarmManager API.

Bug: 14589952
Change-Id: I50099a8b6241b32afedbd32c034c4c7ac19373b0
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
974ea92ab9d0b4757fb9cdbb34f7c2fe329e1c24 12-Nov-2013 Paul Sliwowski <psliwowski@google.com> Add buffer check to fix TIME_SET marking an alarm missed.

BUG: 11630502
Change-Id: I27212246777e0ca5b27688f7f17e883d944fccee
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
25b9df53e993ee775c4733e61b8fef2aa358ef70 26-Oct-2013 Paul Sliwowski <psliwowski@google.com> Fix issue where old alarm manager triggers are being listen to.

Bug: 11272466
Change-Id: I2d70dde96c28405f3f28c09f8e719119b1b117b0
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
0d784080acf4d655ef3b7435d1711937f8bbdd7c 16-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Fix snooze message.

Bug: 11255815
Change-Id: I8cdbe04fa65f7bb97057bf72a2d87ef466cae0bf
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
f1ce98a6e2972854968488d2a28adbc29364b0f9 09-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Update SDK version check

Bug: 10732543
Change-Id: I5141cee374778888f6b27ea9726ccdee0daca7cd
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
5425e6f87d16c945c5320f20f8b61f5add235da1 08-Oct-2013 Paul Sliwowski <psliwowski@google.com> Fixed bug where deleting an alarm doesn't stop it from ringing.

Bug: 11118579
Change-Id: I00b1b44222164d6f9f51f6b820b58a0aac5ca080
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.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/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java
f03a20e0f2872c8245dfe9521a0970f34af0f805 18-Sep-2013 Paul Sliwowski <psliwowski@google.com> Merge "Fixed scroll to view." into ics-ub-clock-amazon
785edda5651d8222a0b0ad5068111a16a0fa8454 18-Sep-2013 Paul Sliwowski <psliwowski@google.com> Merge "Fix alarm clock silence time when set to none." into ics-ub-clock-amazon
1207c57971204ab12897d3c7d477737215f6e2e3 17-Sep-2013 Paul Sliwowski <psliwowski@google.com> Add more logging to help debug scheduling issues.

Bug: b10746233
Change-Id: I551e4700b45a601723159ad50a9f1ca0d2d25eda
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.java
6806f6761dd6c10df03ad0c564a4c741a70244e0 12-Sep-2013 Paul Sliwowski <psliwowski@google.com> Fixed scroll to view.

Bug: 10681753

Change-Id: Idcf79eb4297cf7cdf05c299e8c0aad9d7bb858a0
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java
c20fc5dbe878221f713191396764d5824643b14b 16-Sep-2013 Paul Sliwowski <psliwowski@google.com> Add snooze toast message.

Bug: 10745013
Change-Id: I4b1445360a0a4de0c2fdb5cc9938ecaf9a56f8a1
/packages/apps/DeskClock/src/com/android/deskclock/alarms/AlarmStateManager.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/alarms/AlarmStateManager.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/alarms/AlarmStateManager.java