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

Commit 3d4d19e6 authored by Nadav Bar's avatar Nadav Bar
Browse files

Fix incall music flag entry in type converter

Fix an issue that was introduced in the latest commit due to the
temporary definition of AUDIO_OUTPUT_FLAG_INCALL_MUSIC as a MACRO.
This change explicitly adds the flag in TypeConverter.

Bug: 69973354.
Test: Tested manually.
Change-Id: Id56f746a481a246b109ac1b8458d494575263f99
parent bd1f9987
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ const OutputFlagConverter::Table OutputFlagConverter::mTable[] = {
    MAKE_STRING_FROM_ENUM(AUDIO_OUTPUT_FLAG_VOIP_RX),
    // FIXME: this cast will be removed when the flag will be
    // declared in types.hal for audio HAL V4.0 and auto imported to audio-base.h
    MAKE_STRING_FROM_ENUM((audio_output_flags_t)AUDIO_OUTPUT_FLAG_INCALL_MUSIC),
    {"AUDIO_OUTPUT_FLAG_INCALL_MUSIC", static_cast<audio_output_flags_t>(AUDIO_OUTPUT_FLAG_INCALL_MUSIC)},
    TERMINATOR
};