Merge "AudioDevices HAL uses "default" service name"

This commit is contained in:
TreeHugger Robot 2017-02-22 02:25:13 +00:00 committed by Android (Google) Code Review
commit 108c38553e

View file

@ -38,7 +38,7 @@ using android::OK;
int main(int /* argc */, char* /* argv */ []) {
configureRpcThreadpool(16, true /*callerWillJoin*/);
android::status_t status;
status = registerPassthroughServiceImplementation<IDevicesFactory>("audio_devices_factory");
status = registerPassthroughServiceImplementation<IDevicesFactory>();
LOG_ALWAYS_FATAL_IF(status != OK, "Error while registering audio service: %d", status);
status = registerPassthroughServiceImplementation<IEffectsFactory>("audio_effects_factory");
LOG_ALWAYS_FATAL_IF(status != OK, "Error while registering audio effects service: %d", status);