Changeset 283 for trunk/hiptop/pester/net/sabi/pester/Alarms.java
- Timestamp:
- 07/25/06 07:34:35 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hiptop/pester/net/sabi/pester/Alarms.java
r278 r283 44 44 alarm.resume(); 45 45 } 46 try { 47 MessageFinder.setMessageListFromByteArray(sSettingsDB.getBytes(KEY_RECENT_MESSAGES)); 48 } catch (SettingsDBException e) { 49 MessageFinder.setDefaultMessageList(); 50 } 46 51 sAlarmList = this; 47 52 } … … 62 67 public static void removeAlarm(Alarm alarm) { 63 68 sAlarmList.removeItem(alarm); 69 } 70 public static void recentMessagesChanged() { 71 sSettingsDB.setBytes(KEY_RECENT_MESSAGES, 72 MessageFinder.messageListAsByteArray()); 64 73 } 65 74 … … 94 103 95 104 private static String KEY_DEFAULT_ALARM = "default alarm"; 105 private static String KEY_RECENT_MESSAGES = "recent messages"; 96 106 97 107 public static Alarm getDefaultAlarm() {
Note:
See TracChangeset
for help on using the changeset viewer.