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

Skip to content
Commit 5c91e0a6 authored by Kevin Rocard's avatar Kevin Rocard
Browse files

Audio HAL HIDL wrapper: Fix incorrect conversion of TTY Mode



The TTYMode enum numeric value was converted to a char* instead of its
literal value and vice versa.

Instead convert it to/from its literal value.
Eg: TTYMode::FULL -> "FULL" instead of "3"
    "FULL" -> 0 as atoi conversion would fail

Test: atest VtsHalAudioV4_0TargetTest
Bug: 71486871
Change-Id: I29bbf6bf3b5532269afcc5d39ea10eff2871bdea
Merged-In: I29bbf6bf3b5532269afcc5d39ea10eff2871bdea
Signed-off-by: default avatarKevin Rocard <krocard@google.com>
Signed-off-by: default avatarJungyee Yoo <jungyee.yoo@lge.corp-partner.google.com>
parent 126e8f70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment