Merge "[LE Audio] Add broadcast icon when device is broadcasting but LE device is disconnected"

This commit is contained in:
Betty Chang
2022-12-06 08:03:59 +00:00
committed by Android (Google) Code Review
2 changed files with 24 additions and 1 deletions

View File

@@ -93,7 +93,8 @@ public class MediaVolumePreferenceController extends VolumeSeekBarPreferenceCont
@VisibleForTesting
boolean isSupportEndItem() {
return getWorker() != null && getWorker().isBroadcastSupported() && isConnectedBLEDevice();
return getWorker() != null && getWorker().isBroadcastSupported()
&& (getWorker().isDeviceBroadcasting() || isConnectedBLEDevice());
}
private boolean isConnectedBLEDevice() {