diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2014-08-26 12:59:04 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-08-26 12:59:04 -0700 |
commit | c48bcc407d9d6b353d1a8d7b69212301b69d8687 (patch) | |
tree | 6bd2e3c9a1db3e2120aa57287412ce871f093d28 | |
parent | 4293b818dee0d2ef2797f1a05f3219ca9ed9114b (diff) | |
parent | a62d0c0a0dfe0a74b424c200b69cecb26ea1a169 (diff) | |
download | android_hardware_qcom_fm-c48bcc407d9d6b353d1a8d7b69212301b69d8687.tar.gz android_hardware_qcom_fm-c48bcc407d9d6b353d1a8d7b69212301b69d8687.tar.bz2 android_hardware_qcom_fm-c48bcc407d9d6b353d1a8d7b69212301b69d8687.zip |
Merge "FM: Fix the issue with sleep timer disappear"
-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()) { |