Merge "slice is not updated when hearingAid device connection state changed"
This commit is contained in:
committed by
Android (Google) Code Review
commit
46bf74d27c
@@ -74,7 +74,8 @@ public class MediaOutputIndicatorWorker extends SliceBackgroundWorker implements
|
||||
|
||||
@Override
|
||||
public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) {
|
||||
if (bluetoothProfile == BluetoothProfile.A2DP) {
|
||||
if (bluetoothProfile == BluetoothProfile.A2DP ||
|
||||
bluetoothProfile == BluetoothProfile.HEARING_AID) {
|
||||
notifySliceChange();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user