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

Skip to content
Commit 1d2f1cad authored by zhenchao's avatar zhenchao Committed by Rongxuan Liu
Browse files

[le audio] remove the ending null bytes in native broadcast code

While createBroadcast using broadcast code setting from UI, JNI
layer will add null bytes padding on MSB positions if code is shorter
than 16.

After broadcast is started successfully and prepare to notify UI via
onBroadcastMetadataChanged() callback, JNI layer need remove the
ending null bytes from the native broadcast code.

Bug: 301913633
Bug: 316005152
Test: manual
Test: atest LeAudioBroadcastServiceTest
Change-Id: I734110bb6f16c63e46ff44c91bc6b7eb29241b97
parent f4209007
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