summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Brabham <optedoblivion@cyngn.com>2015-06-22 11:20:26 -0700
committerMatt Garnes <matt@cyngn.com>2015-06-24 13:11:31 -0700
commita82d69b1a402b7cabaaba12e07605f2bdebf0b50 (patch)
treee40d654d948eed6538aee70ba462a9d6388ff245
parent8a1eda5889a505308143cd78ccbe44bdf0c75dfb (diff)
downloadandroid_hardware_qcom_fm-a82d69b1a402b7cabaaba12e07605f2bdebf0b50.tar.gz
android_hardware_qcom_fm-a82d69b1a402b7cabaaba12e07605f2bdebf0b50.tar.bz2
android_hardware_qcom_fm-a82d69b1a402b7cabaaba12e07605f2bdebf0b50.zip
Fix status text to reflect when FM is enabled.
Change-Id: Idbb39cdd8c6eb016d4644d9e31290507d17ce820
-rw-r--r--fmapp2/src/com/caf/fmradio/FMRadio.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/fmapp2/src/com/caf/fmradio/FMRadio.java b/fmapp2/src/com/caf/fmradio/FMRadio.java
index 4ab9468..606ef86 100644
--- a/fmapp2/src/com/caf/fmradio/FMRadio.java
+++ b/fmapp2/src/com/caf/fmradio/FMRadio.java
@@ -1984,7 +1984,11 @@ public class FMRadio extends Activity
}
}else {
if (mRadioTextTV != null) {
- mRadioTextTV.setText(getString(R.string.fm_off));
+ if (bEnable) {
+ mRadioTextTV.setText("");
+ } else {
+ mRadioTextTV.setText(getString(R.string.fm_off));
+ }
mRadioTextScroller.mOriginalString = "";
}
if (mERadioTextTV != null) {