leaudio: Fix switching from Live to Game context
Android does assumptions on possible bidirectional context types and use it when aligning metadata while creating stream. Some devices uses e.g. Game and Voiceassistant as unidirection which later breaks a logic when decision is taken about stream reconfiguration. E.g. we could incorrectly reconfigure stream from existing LIVE to unidirectional GAME while recording. This patch should fix it. Bug: 375334939 Flag: Exempt, regression tested with unit tests and new test added. Test: atest bluetooth_le_audio_test Change-Id: I0ff5513ffb768f6e9e28ef05d87e53761e5259b6
Loading
Please register or sign in to comment