dwalkes / WakeMeSki

An application for the Android OS which turns your phone into a ski or snowboard alarm clock with ski resort monitoring features. This project is based on android-ski-report found at http://code.google.com/p/android-ski-report/
www.wakemeski.com
7 stars 0 forks source link

Wake checks are not re-scheduled properly #1

Closed dwalkes closed 14 years ago

dwalkes commented 14 years ago

In WakeMeSkiService.java, wake checks do not correctly schedule a new alarm after an alarm fires. This means wakeups only would occur on the first configured day after a modification was made in the wakeup settings UI

dwalkes commented 14 years ago

Fixed with commit 823c6baa. Called scheduleNextAlarm() in service alarm check handler. Tested with debug = true in WakeMeSkiPreferences by configuring alarm to check after in 5 minutes, scheduling an alarm check for 5 seconds, then confirming the alarm actually fires in both 5 seconds and 5 minutes.