Ignore:
Timestamp:
07/28/06 08:33:38 (18 years ago)
Author:
Nicholas Riley
Message:

Move discard alert text to resource. Fix listener for
EVENT_TIME_CHANGED I broke a few days ago. Only use
Alarm.mAbsoluteFireTime to measure real time if the alarm was
scheduled/rescheduled (through user action, not restoration from a
datastore) since boot. Don't display dates in the past as if they're
in the following week.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hiptop/pester/net/sabi/pester/Alarms.java

    r294 r295  
    5454    public static Alarms getList() {
    5555        if (sAlarmList == null) {
    56             Application.registerForEvent(sListener, Event.EVENT_TIME_CHANGED);
    5756            sSettingsDB = new SettingsDB("settings", true /* auto sync */);
    5857            sListener = new Listener();
    5958            new Alarms();
     59            Application.registerForEvent(sListener, Event.EVENT_TIME_CHANGED);
    6060        }
    6161        return sAlarmList;
Note: See TracChangeset for help on using the changeset viewer.