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

Commit 92b7af01 authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Shunkai Yao
Browse files

AIDL: Fix test after aosp/2704653

That change updated the connection for the "remote submix in"
device type, however the test was not updated, resulting in
a failure.

The need to modify the test was overlooked because
the TEST_MAPPING file for the library was wrong, although
syntacsically correct. Fix the mapping file to prevent
future regressions.

Bug: 286914845
Bug: 294976817
Bug: 296664539
Test: audio_aidl_conversion_tests
Change-Id: I3bcfab9ca45c19d487deb7709d32f43beee8c789
Merged-In: I3bcfab9ca45c19d487deb7709d32f43beee8c789
parent d3283e91
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
{
  "presubmit": [
    {
      "name": "audio_aidl_conversion_tests",
      "name": "audio_aidl_ndk_conversion_tests",
      "name": "audio_aidl_conversion_tests"
    },
    {
      "name": "audio_aidl_ndk_conversion_tests"
    },
    {
      "name": "audio_aidl_ndk_cpp_conversion_tests"
    }
  ]
+2 −1
Original line number Diff line number Diff line
@@ -143,7 +143,8 @@ AudioDeviceDescription make_ADD_MicIn() {
}

AudioDeviceDescription make_ADD_RSubmixIn() {
    return make_AudioDeviceDescription(AudioDeviceType::IN_SUBMIX);
    return make_AudioDeviceDescription(AudioDeviceType::IN_SUBMIX,
                                       AudioDeviceDescription::CONNECTION_VIRTUAL());
}

AudioDeviceDescription make_ADD_DefaultOut() {