summaryrefslogtreecommitdiffstats
path: root/audio/2.0
diff options
context:
space:
mode:
authorTomasz Wasilczyk <twasilczyk@google.com>2017-08-29 14:03:01 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-08-29 14:03:01 +0000
commit02537a6bcc2b2a73843e18585de3653af296c979 (patch)
tree2096955e3f2c54ff6f5ffcd99430e4512ca57808 /audio/2.0
parentab19e162eccf88763703c276bc7b0bad0f78f9c6 (diff)
parentf4bae95eab8eeedd00c2bbb1e471864a430af7c7 (diff)
downloadplatform_hardware_interfaces-02537a6bcc2b2a73843e18585de3653af296c979.tar.gz
platform_hardware_interfaces-02537a6bcc2b2a73843e18585de3653af296c979.tar.bz2
platform_hardware_interfaces-02537a6bcc2b2a73843e18585de3653af296c979.zip
Merge "Move Broadcast Radio HAL to a separate binary." into oc-mr1-dev
Diffstat (limited to 'audio/2.0')
-rw-r--r--audio/2.0/default/service.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/audio/2.0/default/service.cpp b/audio/2.0/default/service.cpp
index f71f1b4735..a215108e95 100644
--- a/audio/2.0/default/service.cpp
+++ b/audio/2.0/default/service.cpp
@@ -21,8 +21,6 @@
#include <android/hardware/audio/2.0/IDevicesFactory.h>
#include <android/hardware/audio/effect/2.0/IEffectsFactory.h>
#include <android/hardware/soundtrigger/2.0/ISoundTriggerHw.h>
-#include <android/hardware/broadcastradio/1.0/IBroadcastRadioFactory.h>
-#include <android/hardware/broadcastradio/1.1/IBroadcastRadioFactory.h>
using android::hardware::configureRpcThreadpool;
using android::hardware::joinRpcThreadpool;
@@ -32,7 +30,6 @@ using android::hardware::audio::effect::V2_0::IEffectsFactory;
using android::hardware::audio::V2_0::IDevicesFactory;
using android::hardware::soundtrigger::V2_0::ISoundTriggerHw;
using android::hardware::registerPassthroughServiceImplementation;
-using android::hardware::broadcastradio::V1_1::IBroadcastRadioFactory;
using android::OK;
@@ -43,11 +40,9 @@ int main(int /* argc */, char* /* argv */ []) {
LOG_ALWAYS_FATAL_IF(status != OK, "Error while registering audio service: %d", status);
status = registerPassthroughServiceImplementation<IEffectsFactory>();
LOG_ALWAYS_FATAL_IF(status != OK, "Error while registering audio effects service: %d", status);
- // Soundtrigger and FM radio might be not present.
+ // Soundtrigger might be not present.
status = registerPassthroughServiceImplementation<ISoundTriggerHw>();
ALOGE_IF(status != OK, "Error while registering soundtrigger service: %d", status);
- status = registerPassthroughServiceImplementation<IBroadcastRadioFactory>();
- ALOGE_IF(status != OK, "Error while registering fm radio service: %d", status);
joinRpcThreadpool();
return status;
}