Merge "slice is not updated when hearingAid device connection state changed"

This commit is contained in:
TreeHugger Robot
2019-08-21 18:39:01 +00:00
committed by Android (Google) Code Review

View File

@@ -74,7 +74,8 @@ public class MediaOutputIndicatorWorker extends SliceBackgroundWorker implements
@Override @Override
public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) {
if (bluetoothProfile == BluetoothProfile.A2DP) { if (bluetoothProfile == BluetoothProfile.A2DP ||
bluetoothProfile == BluetoothProfile.HEARING_AID) {
notifySliceChange(); notifySliceChange();
} }
} }