slice is not updated when hearingAid device connection state changed
- add hearingAid profile into onActiveDeviceChanged Bug: 139782394 Test: make -j42 RunSettingsRoboTests Change-Id: I1aa202dd7361e02690a5d993d0f61e6eb7835cff
This commit is contained in:
@@ -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