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

Skip to content
Commit a52e06cd authored by Rongxuan Liu's avatar Rongxuan Liu
Browse files

LeAudioTestApp: Fix crash issue when starting broadcast

getAllBroadcastMetadata will return immutable Collections.emptyList()
in error cases, this might cause following list add operation in
updateBroadcastMetadata report UnsupportedOperationException.

the fix is to use ArrayList instead if the broadcastMetadata list is
empty.

Bug: 287099760
Test: mma LeAudioTestApp
Test: manual test with LeAudioTestApp
Change-Id: I2c7b0ca8ac2d431030940936f754f822b1cc9779
parent 5600dee8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment