From 53bda4538aef48b39d56bc7ff1b8f6007333bbd8 Mon Sep 17 00:00:00 2001 From: atinm Date: Wed, 14 Sep 2011 15:37:53 -0400 Subject: ifdef the usage of FMRadio Change-Id: Ibbc9581b15fbe802f60826237a88b2a42f2b4a4a --- libaudio/AudioHardware.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libaudio') 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; } -- cgit v1.1