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

Commit 2eae53c0 authored by Chris Larsen's avatar Chris Larsen Committed by Jean-Michel Trivi
Browse files

Use symbolic name for return value in legacy audio policy client

Change-Id: Id27628afcbc4eb2c9bf1313c8376802a47a9596c
parent d2a52727
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ audio_module_handle_t aps_load_hw_module(void *service __unused,
    sp<IAudioFlinger> af = AudioSystem::get_audio_flinger();
    if (af == 0) {
        ALOGW("%s: could not get AudioFlinger", __func__);
        return 0;
        return AUDIO_MODULE_HANDLE_NONE;
    }

    return af->loadHwModule(name);