commit | 25fb3aac3afd38ae823e6766b03bd4b2eb6398ed | [log] [tgz] |
---|---|---|
author | Pomai Ahlo <poahlo@google.com> | Mon Dec 12 13:58:55 2022 -0800 |
committer | Pomai Ahlo <poahlo@google.com> | Tue Dec 13 10:38:30 2022 -0800 |
tree | 1dc0ca2e9420b0c81ec1acb7699545cfa78a0575 | |
parent | 5b6498336d74cae64354839ab22d45ae82a74cb8 [diff] [blame] |
[ISap hidl2aidl] Compat Support Add support for ISap in the compat shim. Test: atest VtsHalRadioTargetTest:PerInstance/SapTest Bug: 241969533 Change-Id: I9fe5fe194de877bcd2b85ccfa822bd6565e2dc72
diff --git a/radio/aidl/compat/libradiocompat/commonStructs.cpp b/radio/aidl/compat/libradiocompat/commonStructs.cpp index 6e4c873..d65ed1a 100644 --- a/radio/aidl/compat/libradiocompat/commonStructs.cpp +++ b/radio/aidl/compat/libradiocompat/commonStructs.cpp
@@ -48,6 +48,10 @@ return v; } +uint8_t toHidl(int8_t v) { + return v; +} + aidl::RadioIndicationType toAidl(V1_0::RadioIndicationType type) { return aidl::RadioIndicationType(type); }