summaryrefslogtreecommitdiffstats
path: root/libaudio
diff options
context:
space:
mode:
authoratinm <atinm.dev@gmail.com>2011-09-14 15:37:53 -0400
committeratinm <atinm.dev@gmail.com>2011-09-14 15:37:53 -0400
commit53bda4538aef48b39d56bc7ff1b8f6007333bbd8 (patch)
tree4089ce031dce07812e5055f6c35444d88b2fac50 /libaudio
parent14513e1c14b88d7bee4596a14425ae6d7f76640d (diff)
downloaddevice_samsung_aries-common-53bda4538aef48b39d56bc7ff1b8f6007333bbd8.zip
device_samsung_aries-common-53bda4538aef48b39d56bc7ff1b8f6007333bbd8.tar.gz
device_samsung_aries-common-53bda4538aef48b39d56bc7ff1b8f6007333bbd8.tar.bz2
ifdef the usage of FMRadio
Change-Id: Ibbc9581b15fbe802f60826237a88b2a42f2b4a4a
Diffstat (limited to 'libaudio')
-rw-r--r--libaudio/AudioHardware.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libaudio/AudioHardware.cpp b/libaudio/AudioHardware.cpp
index 8d0daeb..c958e36 100644
--- a/libaudio/AudioHardware.cpp
+++ b/libaudio/AudioHardware.cpp
@@ -436,12 +436,13 @@ status_t AudioHardware::setMode(int mode)
spOut->unlock();
}
+#ifdef HAVE_FM_RADIO
if (mFmResumeAfterCall) {
mFmResumeAfterCall = false;
enableFMRadio();
}
-
+#endif
return status;
}