commit | 9f917031c41d7b2b804a39aca554c1501a577ca6 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Mar 31 19:47:16 2022 +0000 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Mar 31 19:47:16 2022 +0000 |
tree | 1de01c925db3968e34456914223624b35bd8ac85 | |
parent | 2e386c0c19f2b3d5da31d9cb56313b5a13a4cd19 [diff] |
Fix stream type check, accept empty type Since `AUDIO_STREAM_DEFAULT` can not be used in APM configs, it is encoded as an empty string when passing via HIDL. Consider this case when checking for the stream type validity. Does not affect VTS. Bug: 227457689 Test: run CallAudioInterceptionTest, check logcat for errors Test: atest VtsHalAudioV7_1TargetTest Change-Id: I5a0dad912bbb6826b5fd039b28b1c12e831d5112