diff options
author | Ayaz Ahmad <aahmad@codeaurora.org> | 2013-10-30 11:29:59 +0530 |
---|---|---|
committer | Ayaz Ahmad <aahmad@codeaurora.org> | 2013-10-30 11:47:14 +0530 |
commit | 0911755f988bb41c27883409c76a8cd6f1b31fa5 (patch) | |
tree | 8d836f28d227b6038ec8d473479cca09b1bdbd76 /qcom | |
parent | 0297be2af34e222e036e57faf9776a4b4089db85 (diff) | |
download | android_hardware_qcom_fm-0911755f988bb41c27883409c76a8cd6f1b31fa5.tar.gz android_hardware_qcom_fm-0911755f988bb41c27883409c76a8cd6f1b31fa5.tar.bz2 android_hardware_qcom_fm-0911755f988bb41c27883409c76a8cd6f1b31fa5.zip |
fm: Handle scan abort operation properly
Upper layer does not get notified with search complete
event when ongoing search operation is cancelled, this
causes duplicate channels in search list. Notify upper
layer with search complete event whenever search
operation is cancelled.
Change-Id: Ica564bcca3b45cde5b2c1394b9bba9f3967af807
CRs-Fixed: 535259
Diffstat (limited to 'qcom')
-rw-r--r-- | qcom/fmradio/FmRxEventListner.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qcom/fmradio/FmRxEventListner.java b/qcom/fmradio/FmRxEventListner.java index f4613e8..865aac7 100644 --- a/qcom/fmradio/FmRxEventListner.java +++ b/qcom/fmradio/FmRxEventListner.java @@ -135,7 +135,7 @@ class FmRxEventListner { Log.v(TAG, "Aborting on-going search command..."); FmReceiver.setSearchState(FmTransceiver.subSrchLevel_SrchComplete); Log.v(TAG, "RxEvtList: CURRENT-STATE : Search ---> NEW-STATE : FMRxOn"); - cb.FmRxEvSearchCancelled(); + cb.FmRxEvSearchComplete(FmReceiverJNI.getFreqNative(fd)); break; } break; |