Loading packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothLeBroadcast.java +14 −0 Original line number Diff line number Diff line Loading @@ -758,6 +758,20 @@ public class LocalBluetoothLeBroadcast implements LocalBluetoothProfile { mServiceBroadcast.updateBroadcast(mBroadcastId, mBluetoothLeAudioContentMetadata); } /** * Update the LE Broadcast by calling {@link BluetoothLeBroadcast#updateBroadcast(int, * BluetoothLeAudioContentMetadata)}, currently only updates programInfo. */ public void updateBroadcast() { if (mServiceBroadcast == null) { Log.d(TAG, "The BluetoothLeBroadcast is null when updating the broadcast."); return; } String programInfo = getProgramInfo(); mBluetoothLeAudioContentMetadata = mBuilder.setProgramInfo(programInfo).build(); mServiceBroadcast.updateBroadcast(mBroadcastId, mBluetoothLeAudioContentMetadata); } /** * Register Broadcast Callbacks to track its state and receivers * Loading Loading
packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothLeBroadcast.java +14 −0 Original line number Diff line number Diff line Loading @@ -758,6 +758,20 @@ public class LocalBluetoothLeBroadcast implements LocalBluetoothProfile { mServiceBroadcast.updateBroadcast(mBroadcastId, mBluetoothLeAudioContentMetadata); } /** * Update the LE Broadcast by calling {@link BluetoothLeBroadcast#updateBroadcast(int, * BluetoothLeAudioContentMetadata)}, currently only updates programInfo. */ public void updateBroadcast() { if (mServiceBroadcast == null) { Log.d(TAG, "The BluetoothLeBroadcast is null when updating the broadcast."); return; } String programInfo = getProgramInfo(); mBluetoothLeAudioContentMetadata = mBuilder.setProgramInfo(programInfo).build(); mServiceBroadcast.updateBroadcast(mBroadcastId, mBluetoothLeAudioContentMetadata); } /** * Register Broadcast Callbacks to track its state and receivers * Loading