summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-11-03 12:23:38 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-11-03 12:23:38 -0700
commitbca72fc14e996ba18980729e4cf7646231e9ba16 (patch)
tree3fb79ba35dfb02d05f500900dfab77a4769c05b3
parentd80f7c760a4c09cfd03a39d400c795d643ffafbd (diff)
parentb01135320204346bb7e6ecb87d8f9702cabd90a6 (diff)
downloaddevice_samsung_crespo-bca72fc14e996ba18980729e4cf7646231e9ba16.zip
device_samsung_crespo-bca72fc14e996ba18980729e4cf7646231e9ba16.tar.gz
device_samsung_crespo-bca72fc14e996ba18980729e4cf7646231e9ba16.tar.bz2
Merge "Fix issue 3161227." into gingerbread
-rw-r--r--libaudio2/AudioHardware.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libaudio2/AudioHardware.cpp b/libaudio2/AudioHardware.cpp
index 7cff057..53e9c65 100644
--- a/libaudio2/AudioHardware.cpp
+++ b/libaudio2/AudioHardware.cpp
@@ -332,9 +332,6 @@ status_t AudioHardware::setMode(int mode)
openPcmOut_l();
openMixer_l();
setVoiceRecognition_l(false);
- if (mOutput != 0) {
- setIncallPath_l(mOutput->device());
- }
mInCallAudioMode = true;
}
if (mMode == AudioSystem::MODE_NORMAL && mInCallAudioMode) {