summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fmapp2/src/com/caf/fmradio/FMRadio.java3
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 1ee8e97..41af705 100644
--- a/fmapp2/src/com/caf/fmradio/FMRadio.java
+++ b/fmapp2/src/com/caf/fmradio/FMRadio.java
@@ -1686,7 +1686,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;
@@ -2627,6 +2626,7 @@ public class FMRadio extends Activity
mTunedStation.setPI(0);
mTunedStation.setPty(0);
updateStationInfoToUI();
+ enableRadioOnOffUI();
}catch (RemoteException e) {
e.printStackTrace();
}
@@ -2684,6 +2684,7 @@ public class FMRadio extends Activity
mERadioTextScroller.stopScroll();
mUpdatePickerValue = true;
updateStationInfoToUI();
+ enableRadioOnOffUI();
}
Runnable mRadioEnabled = new Runnable() {