diff options
Diffstat (limited to 'fmapp2/src/com/caf')
-rw-r--r-- | fmapp2/src/com/caf/fmradio/FMRadio.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fmapp2/src/com/caf/fmradio/FMRadio.java b/fmapp2/src/com/caf/fmradio/FMRadio.java index 2e52959..7a589f2 100644 --- a/fmapp2/src/com/caf/fmradio/FMRadio.java +++ b/fmapp2/src/com/caf/fmradio/FMRadio.java @@ -2304,7 +2304,7 @@ public class FMRadio extends Activity "SleepUpdateThread"); } /* If the thread state is "new" then the thread has not yet started */ - if(mSleepUpdateHandlerThread.getState() == Thread.State.NEW && isFmOn()) { + if(mSleepUpdateHandlerThread.getState() != Thread.State.TERMINATED && isFmOn()) { try { if((mService != null) && !mService.isSleepTimerActive()) { |