summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}