diff options
author | linuxxxxx <joey@cyanogenmoditalia.it> | 2015-04-08 13:45:36 +0200 |
---|---|---|
committer | Matt Wagantall <mwagantall@cyngn.com> | 2016-02-19 14:07:44 -0800 |
commit | d6e574c8757ab82e74ce1a3a716be2cdb255daa0 (patch) | |
tree | 8a99e815f3c9fbecd4d50bdf622c484aa6c1f41f /fmapp2/src/com/caf/fmradio/FMRadio.java | |
parent | 57acd44f5e3ab0d6c9ee16bf54fde960908669ec (diff) | |
download | android_hardware_qcom_fm-d6e574c8757ab82e74ce1a3a716be2cdb255daa0.tar.gz android_hardware_qcom_fm-d6e574c8757ab82e74ce1a3a716be2cdb255daa0.tar.bz2 android_hardware_qcom_fm-d6e574c8757ab82e74ce1a3a716be2cdb255daa0.zip |
FM2: missing materialization changes
Change-Id: I7d80a889cfecda0deb2916cb0d514dac3d92dc9d
Signed-off-by: linuxxxxx <joey@cyanogenmoditalia.it>
Diffstat (limited to 'fmapp2/src/com/caf/fmradio/FMRadio.java')
-rw-r--r-- | fmapp2/src/com/caf/fmradio/FMRadio.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fmapp2/src/com/caf/fmradio/FMRadio.java b/fmapp2/src/com/caf/fmradio/FMRadio.java index e3a8d14..9b5f979 100644 --- a/fmapp2/src/com/caf/fmradio/FMRadio.java +++ b/fmapp2/src/com/caf/fmradio/FMRadio.java @@ -225,6 +225,8 @@ public class FMRadio extends Activity private TextView mSleepMsgTV; private TextView mRecordingMsgTV; + private ImageView mFmSeeker; + private double mOutputFreq; private int mPresetPageNumber = 0; private int mStereo = -1; @@ -356,6 +358,8 @@ public class FMRadio extends Activity mBackButton.setOnClickListener(mBackClickListener); } + mFmSeeker = (ImageView)findViewById(R.id.fm_seeker); + /* 6 Preset Buttons */ mPresetButtons[0] = (Button)findViewById(R.id.presets_button_1); mPresetButtons[1] = (Button)findViewById(R.id.presets_button_2); @@ -1915,6 +1919,7 @@ public class FMRadio extends Activity setMuteModeButtonImage(false); } if (bEnable) { + mFmSeeker.setVisibility(View.VISIBLE); if (mRadioTextScroller != null) { mRadioTextScroller.startScroll(); } @@ -1939,6 +1944,7 @@ public class FMRadio extends Activity } } }else { + mFmSeeker.setVisibility(View.INVISIBLE); if (mRadioTextScroller != null) { mRadioTextScroller.stopScroll(); } |