diff options
-rw-r--r-- | fmapp2/src/com/caf/fmradio/FMRadio.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fmapp2/src/com/caf/fmradio/FMRadio.java b/fmapp2/src/com/caf/fmradio/FMRadio.java index 92f1019..f1ff4d5 100644 --- a/fmapp2/src/com/caf/fmradio/FMRadio.java +++ b/fmapp2/src/com/caf/fmradio/FMRadio.java @@ -1641,7 +1641,6 @@ public class FMRadio extends Activity bStatus = mService.fmOn(); if(bStatus) { tuneRadio(FmSharedPreferences.getTunedFrequency()); - enableRadioOnOffUI(); }else { Log.e(LOGTAG, "mService.fmOn failed"); mCommandFailed = CMD_FMON; @@ -2548,6 +2547,7 @@ public class FMRadio extends Activity mTunedStation.setPI(0); mTunedStation.setPty(0); updateStationInfoToUI(); + enableRadioOnOffUI(); }catch (RemoteException e) { e.printStackTrace(); } @@ -2621,6 +2621,7 @@ public class FMRadio extends Activity mERadioTextScroller.stopScroll(); mUpdatePickerValue = true; updateStationInfoToUI(); + enableRadioOnOffUI(); } Runnable mRadioEnabled = new Runnable() { |