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

Commit 6bd64db7 authored by SongFerngWang's avatar SongFerngWang Committed by SongFerng Wang
Browse files

[Broadcast] broadcastCode of non-encrypted broadcast is null

When the user start the non-encrypted boradcast, the system should
set the broadcastCode as null

Bug: 287133970
Test: build pass and manually test.
Change-Id: Ic62cf4bf9d2311f9b5bc04108995e518cac4d6d7
parent 2c270dd7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -237,7 +237,8 @@ public class LocalBluetoothLeBroadcast implements LocalBluetoothProfile {
                    "startBroadcast: language = " + language + " ,programInfo = " + programInfo);
        }
        buildContentMetadata(language, programInfo);
        mService.startBroadcast(mBluetoothLeAudioContentMetadata, mBroadcastCode);
        mService.startBroadcast(mBluetoothLeAudioContentMetadata,
                (mBroadcastCode != null && mBroadcastCode.length > 0) ? mBroadcastCode : null);
    }

    public String getProgramInfo() {