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

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

[bass] Null check when setRssi to metadata

If result from getPeriodicAdvertisementResult is null, we should skip using
broadcastId and set rssi to avoid crash on result.getBroadcastId.
The fix is only set Rssi value when result is not null.

Bug: 388764325
Flag: EXEMPT, null check
Test: atest BassClientServiceTest
Change-Id: I1809edc4fea225922c8d48d3fdf0e22d6cc62ef2
parent b5818b72
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