diff options
author | Venkateshwarlu Domakonda <vdomak@codeaurora.org> | 2014-05-26 18:40:41 +0530 |
---|---|---|
committer | Venkateshwarlu Domakonda <vdomak@codeaurora.org> | 2014-05-26 18:40:41 +0530 |
commit | 86a89a34d378d287da8b887363fa151a326a1844 (patch) | |
tree | 7b9e21159035cc1e51ddf7766ce4877cd6cca86c /fmapp2/src/com/caf/fmradio/FMRadioService.java | |
parent | 5e32924236b3f6e7849edc430cc0c35bf9e95f78 (diff) | |
download | android_hardware_qcom_fm-86a89a34d378d287da8b887363fa151a326a1844.tar.gz android_hardware_qcom_fm-86a89a34d378d287da8b887363fa151a326a1844.tar.bz2 android_hardware_qcom_fm-86a89a34d378d287da8b887363fa151a326a1844.zip |
FM: Fix the issue with MO/MT call for FM record
- Audio manager can not handle the record while MO/MT call.
Change-Id: I7ee822248fd949b9f4c38ad61c0d044eb0a24327
CRs-Fixed: 663513
Diffstat (limited to 'fmapp2/src/com/caf/fmradio/FMRadioService.java')
-rw-r--r-- | fmapp2/src/com/caf/fmradio/FMRadioService.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fmapp2/src/com/caf/fmradio/FMRadioService.java b/fmapp2/src/com/caf/fmradio/FMRadioService.java index 12e6841..41947da 100644 --- a/fmapp2/src/com/caf/fmradio/FMRadioService.java +++ b/fmapp2/src/com/caf/fmradio/FMRadioService.java @@ -1056,12 +1056,6 @@ public class FMRadioService extends Service if((TelephonyManager.CALL_STATE_OFFHOOK == state)|| (TelephonyManager.CALL_STATE_RINGING == state)) { - if (state == TelephonyManager.CALL_STATE_RINGING) { - int ringvolume = audioManager.getStreamVolume(AudioManager.STREAM_RING); - if (ringvolume == 0) { - return; - } - } boolean bTempSpeaker = mSpeakerPhoneOn; //need to restore SpeakerPhone boolean bTempMute = mMuted;// need to restore Mute status int bTempCall = mCallStatus;//need to restore call status |