summaryrefslogtreecommitdiffstats
path: root/fmapp
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2013-09-02 10:53:04 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2013-09-02 10:53:04 -0700
commitdb2948433365639e9ef73268c4c1661c3fce0d25 (patch)
tree580b1ac228d51bf3aa7225c6f583637d65cebfb1 /fmapp
parent83ed00609dfcde4b4b1af5364c043fc1d76d7fd7 (diff)
parentb11a44e8ed6a15fbe646264215e6133a926cfeca (diff)
downloadandroid_hardware_qcom_fm-db2948433365639e9ef73268c4c1661c3fce0d25.tar.gz
android_hardware_qcom_fm-db2948433365639e9ef73268c4c1661c3fce0d25.tar.bz2
android_hardware_qcom_fm-db2948433365639e9ef73268c4c1661c3fce0d25.zip
Merge "FM: Fix the issue recording service gets stopped"
Diffstat (limited to 'fmapp')
-rw-r--r--fmapp/src/com/codeaurora/fmradio/FMRadioService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/fmapp/src/com/codeaurora/fmradio/FMRadioService.java b/fmapp/src/com/codeaurora/fmradio/FMRadioService.java
index 3ca96e9..d0270ca 100644
--- a/fmapp/src/com/codeaurora/fmradio/FMRadioService.java
+++ b/fmapp/src/com/codeaurora/fmradio/FMRadioService.java
@@ -765,7 +765,6 @@ public class FMRadioService extends Service
Log.d(LOGTAG, "FMRadio: Requesting to stop FM");
AudioSystem.setDeviceConnectionState(AudioSystem.DEVICE_OUT_FM,
AudioSystem.DEVICE_STATE_UNAVAILABLE, "");
- sendRecordServiceIntent(RECORD_STOP);
}
mPlaybackInProgress = false;
}
@@ -1640,6 +1639,7 @@ private Runnable mSpeakerDisableTask = new Runnable() {
Log.d(LOGTAG, "audioManager.setFmRadioOn false done \n" );
}
+ sendRecordServiceIntent(RECORD_STOP);
if (isAnalogModeEnabled()) {
SystemProperties.set("hw.fm.isAnalog","false");
misAnalogPathEnabled = false;