summaryrefslogtreecommitdiffstats
path: root/fmapp2/src/com/caf/fmradio/FMRadioService.java
diff options
context:
space:
mode:
authorVenkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>2013-09-30 16:45:07 +0530
committerVenkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>2013-09-30 16:49:58 +0530
commit842508992f12469070994e6a93c6cd5831aa5573 (patch)
treeda351c2c5251d50ce9bdd3f730cfb00d14bf4a5c /fmapp2/src/com/caf/fmradio/FMRadioService.java
parent4974540d115974fbd44afbc1f6195c1599c893ef (diff)
downloadandroid_hardware_qcom_fm-842508992f12469070994e6a93c6cd5831aa5573.tar.gz
android_hardware_qcom_fm-842508992f12469070994e6a93c6cd5831aa5573.tar.bz2
android_hardware_qcom_fm-842508992f12469070994e6a93c6cd5831aa5573.zip
fmapp2: Fix the FM and Music palyer concurency issue
- Keeping Audio focus listener active even after FM OFF. - Kill the FM service, if FM is in OFF state and when the client disconnected from the service. Change-Id: I1c3583343c87140a3a940ad75107536b39294571 CRs-Fixed: 546306
Diffstat (limited to 'fmapp2/src/com/caf/fmradio/FMRadioService.java')
-rw-r--r--fmapp2/src/com/caf/fmradio/FMRadioService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/fmapp2/src/com/caf/fmradio/FMRadioService.java b/fmapp2/src/com/caf/fmradio/FMRadioService.java
index ad0458b..ddb556a 100644
--- a/fmapp2/src/com/caf/fmradio/FMRadioService.java
+++ b/fmapp2/src/com/caf/fmradio/FMRadioService.java
@@ -685,7 +685,7 @@ public class FMRadioService extends Service
// an in-progress call ends, so don't stop the service now.
return true;
}
- gotoIdleState();
+ stopSelf(mServiceStartId);
return true;
}