diff options
| author | Kevin Rocard <krocard@google.com> | 2018-01-31 22:20:16 -0800 |
|---|---|---|
| committer | Kevin Rocard <krocard@google.com> | 2018-05-04 20:20:49 -0700 |
| commit | 5c91e0a6b6f86fab3eec0e286a02a14043f64437 (patch) | |
| tree | 77dc067645e5651454ca7d494b8797fc0f8acaf3 /identity/support/src/cppbor_parse.cpp | |
| parent | 126e8f700d57c4724e3d59ee8c6a6183f6bb2326 (diff) | |
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: Kevin Rocard <krocard@google.com>
Signed-off-by: Jungyee Yoo <jungyee.yoo@lge.corp-partner.google.com>
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions
