diff options
author | Eric Laurent <elaurent@google.com> | 2012-03-12 10:54:23 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2012-03-12 10:58:19 -0700 |
commit | 6804c66c3bf242aa7dc45cf324d45091d89a0db8 (patch) | |
tree | 9956f1357f494d0daa09a94f3efac204ad881d49 | |
parent | c9316f02e09f2aead4b6ca056c60c0764c00c63e (diff) | |
download | device_samsung_crespo-6804c66c3bf242aa7dc45cf324d45091d89a0db8.zip device_samsung_crespo-6804c66c3bf242aa7dc45cf324d45091d89a0db8.tar.gz device_samsung_crespo-6804c66c3bf242aa7dc45cf324d45091d89a0db8.tar.bz2 |
audio policy manager refactoring.
Removed obsolete method a2dpUsedForSonification() and
compilation switch WITH_A2DP.
Change-Id: I3df7b81df92f018d6bbc1bff2ec22d1c53e8035e
-rw-r--r-- | libaudio/Android.mk | 4 | ||||
-rw-r--r-- | libaudio/AudioPolicyManager.h | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/libaudio/Android.mk b/libaudio/Android.mk index cbb925c..d614970 100644 --- a/libaudio/Android.mk +++ b/libaudio/Android.mk @@ -34,8 +34,4 @@ LOCAL_MODULE := audio_policy.herring LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw LOCAL_MODULE_TAGS := optional -ifeq ($(BOARD_HAVE_BLUETOOTH),true) - LOCAL_CFLAGS += -DWITH_A2DP -endif - include $(BUILD_SHARED_LIBRARY) diff --git a/libaudio/AudioPolicyManager.h b/libaudio/AudioPolicyManager.h index d660e78..e4417c0 100644 --- a/libaudio/AudioPolicyManager.h +++ b/libaudio/AudioPolicyManager.h @@ -37,10 +37,6 @@ public: protected: // true is current platform implements a back microphone virtual bool hasBackMicrophone() const { return false; } -#ifdef WITH_A2DP - // true is current platform supports duplication of notifications and ringtones over A2DP output - virtual bool a2dpUsedForSonification() const { return true; } -#endif }; }; |