Loading src/com/android/settings/connecteddevice/audiosharing/AudioSharingDevicePreferenceController.java +3 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.bluetooth.BluetoothLeBroadcast; import android.bluetooth.BluetoothLeBroadcastAssistant; import android.bluetooth.BluetoothLeBroadcastMetadata; import android.bluetooth.BluetoothLeBroadcastReceiveState; import android.bluetooth.BluetoothLeBroadcastSubgroupSettings; import android.bluetooth.BluetoothProfile; import android.content.Context; import android.util.Log; Loading Loading @@ -540,7 +541,8 @@ public class AudioSharingDevicePreferenceController extends BasePreferenceContro mTargetSinks.add(device.getDevice()); } } mBroadcast.startBroadcast("test", null); mBroadcast.startPrivateBroadcast( BluetoothLeBroadcastSubgroupSettings.QUALITY_HIGH); }); }); } Loading src/com/android/settings/connecteddevice/audiosharing/AudioSharingSwitchBarController.java +2 −2 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.bluetooth.BluetoothLeBroadcast; import android.bluetooth.BluetoothLeBroadcastAssistant; import android.bluetooth.BluetoothLeBroadcastMetadata; import android.bluetooth.BluetoothLeBroadcastReceiveState; import android.bluetooth.BluetoothLeBroadcastSubgroupSettings; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; Loading Loading @@ -339,8 +340,7 @@ public class AudioSharingSwitchBarController extends BasePreferenceController } mDeviceItemsForSharing.remove(0); } // TODO: start broadcast with new API mBroadcast.startBroadcast("test", null); mBroadcast.startPrivateBroadcast(BluetoothLeBroadcastSubgroupSettings.QUALITY_HIGH); } private void stopAudioSharing() { Loading Loading
src/com/android/settings/connecteddevice/audiosharing/AudioSharingDevicePreferenceController.java +3 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.bluetooth.BluetoothLeBroadcast; import android.bluetooth.BluetoothLeBroadcastAssistant; import android.bluetooth.BluetoothLeBroadcastMetadata; import android.bluetooth.BluetoothLeBroadcastReceiveState; import android.bluetooth.BluetoothLeBroadcastSubgroupSettings; import android.bluetooth.BluetoothProfile; import android.content.Context; import android.util.Log; Loading Loading @@ -540,7 +541,8 @@ public class AudioSharingDevicePreferenceController extends BasePreferenceContro mTargetSinks.add(device.getDevice()); } } mBroadcast.startBroadcast("test", null); mBroadcast.startPrivateBroadcast( BluetoothLeBroadcastSubgroupSettings.QUALITY_HIGH); }); }); } Loading
src/com/android/settings/connecteddevice/audiosharing/AudioSharingSwitchBarController.java +2 −2 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.bluetooth.BluetoothLeBroadcast; import android.bluetooth.BluetoothLeBroadcastAssistant; import android.bluetooth.BluetoothLeBroadcastMetadata; import android.bluetooth.BluetoothLeBroadcastReceiveState; import android.bluetooth.BluetoothLeBroadcastSubgroupSettings; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; Loading Loading @@ -339,8 +340,7 @@ public class AudioSharingSwitchBarController extends BasePreferenceController } mDeviceItemsForSharing.remove(0); } // TODO: start broadcast with new API mBroadcast.startBroadcast("test", null); mBroadcast.startPrivateBroadcast(BluetoothLeBroadcastSubgroupSettings.QUALITY_HIGH); } private void stopAudioSharing() { Loading