summaryrefslogtreecommitdiffstats
path: root/libaudio
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2013-02-13 15:24:55 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2013-02-13 15:25:03 +0700
commitf7f35bc3ba2f0052cd318409d2eea73e5b3c66ae (patch)
treea84e0893061e53eea3cabfc9d88019e9866a781a /libaudio
parentfd227aca788c173aa20deacf8c7bf26c5304782b (diff)
downloaddevice_samsung_aries-common-f7f35bc3ba2f0052cd318409d2eea73e5b3c66ae.zip
device_samsung_aries-common-f7f35bc3ba2f0052cd318409d2eea73e5b3c66ae.tar.gz
device_samsung_aries-common-f7f35bc3ba2f0052cd318409d2eea73e5b3c66ae.tar.bz2
aries-common: use default audio policy
No point extending and compiling another audio policy when we're not modifying it in anyway. Change-Id: I3e1d144b92b42ace670d312fe3c57f2596ea9e43
Diffstat (limited to 'libaudio')
-rw-r--r--libaudio/Android.mk16
-rw-r--r--libaudio/AudioPolicyManager.cpp45
-rw-r--r--libaudio/AudioPolicyManager.h38
3 files changed, 0 insertions, 99 deletions
diff --git a/libaudio/Android.mk b/libaudio/Android.mk
index 063374b..45e34e8 100644
--- a/libaudio/Android.mk
+++ b/libaudio/Android.mk
@@ -30,20 +30,4 @@ endif
include $(BUILD_SHARED_LIBRARY)
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES := AudioPolicyManager.cpp
-LOCAL_SHARED_LIBRARIES := libcutils libutils
-LOCAL_STATIC_LIBRARIES := libmedia_helper
-LOCAL_WHOLE_STATIC_LIBRARIES := libaudiopolicy_legacy
-LOCAL_MODULE := audio_policy.aries
-LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
-LOCAL_MODULE_TAGS := optional
-
-ifeq ($(BOARD_HAVE_FM_RADIO),true)
- LOCAL_CFLAGS += -DHAVE_FM_RADIO
-endif
-
-include $(BUILD_SHARED_LIBRARY)
-
endif
diff --git a/libaudio/AudioPolicyManager.cpp b/libaudio/AudioPolicyManager.cpp
deleted file mode 100644
index ce99972..0000000
--- a/libaudio/AudioPolicyManager.cpp
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2009 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#define LOG_TAG "AudioPolicyManager"
-//#define LOG_NDEBUG 0
-#include <utils/Log.h>
-#include "AudioPolicyManager.h"
-
-namespace android_audio_legacy {
-
-
-
-// ----------------------------------------------------------------------------
-// AudioPolicyManager for crespo platform
-// Common audio policy manager code is implemented in AudioPolicyManagerBase class
-// ----------------------------------------------------------------------------
-
-// --- class factory
-
-
-extern "C" AudioPolicyInterface* createAudioPolicyManager(AudioPolicyClientInterface *clientInterface)
-{
- return new AudioPolicyManager(clientInterface);
-}
-
-extern "C" void destroyAudioPolicyManager(AudioPolicyInterface *interface)
-{
- delete interface;
-}
-
-
-}; // namespace android
diff --git a/libaudio/AudioPolicyManager.h b/libaudio/AudioPolicyManager.h
deleted file mode 100644
index 5062ff0..0000000
--- a/libaudio/AudioPolicyManager.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2009 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include <stdint.h>
-#include <sys/types.h>
-#include <utils/Timers.h>
-#include <utils/Errors.h>
-#include <utils/KeyedVector.h>
-#include <hardware_legacy/AudioPolicyManagerBase.h>
-
-
-namespace android_audio_legacy {
-
-class AudioPolicyManager: public AudioPolicyManagerBase
-{
-
-public:
- AudioPolicyManager(AudioPolicyClientInterface *clientInterface)
- : AudioPolicyManagerBase(clientInterface) {}
-
- virtual ~AudioPolicyManager() {}
-
-};
-};