summaryrefslogtreecommitdiffstats
path: root/libaudio/AudioHardware.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libaudio/AudioHardware.cpp')
-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;
}