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

Skip to content
Commit 7ca8bddd authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Jakub Pawłowski
Browse files

Do not return null as active device

getActiveDevices can return at most one device for A2DP. Some places
would check just the count, not the value, and treat null as active
device causing crashes later in code.

Bug: 222743223
Test: play music using LE Audio, ensure no crashes in A2DP code
Change-Id: I48d8e43945e75de0a230a61d09dd6e9f3a734772
parent 4024c5ee
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