Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63a3bd15 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "audio_effect HAL uses "default" service name"

parents f5672b61 549ca2bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ int main(int /* argc */, char* /* argv */ []) {
    android::status_t status;
    status = registerPassthroughServiceImplementation<IDevicesFactory>();
    LOG_ALWAYS_FATAL_IF(status != OK, "Error while registering audio service: %d", status);
    status = registerPassthroughServiceImplementation<IEffectsFactory>("audio_effects_factory");
    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.
    status = registerPassthroughServiceImplementation<ISoundTriggerHw>("sound_trigger.primary");
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ using ::android::sp;
class AudioEffectHidlTest : public ::testing::Test {
 public:
  virtual void SetUp() override {
    effectsFactory = IEffectsFactory::getService("audio_effects_factory");
    effectsFactory = IEffectsFactory::getService();
    ASSERT_NE(effectsFactory, nullptr);
  }