[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
This commit is contained in:
committed by
SongFerng Wang
parent
2c270dd7a4
commit
6bd64db794
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user