The UI only shows the active LE device
At the media device, it only shows the active LE device which is connected. Bug: 232892046 Test: make RunSettingsRoboTests ROBOTEST_FILTER=AvailableMediaBluetoothDeviceUpdaterTest make RunSettingsRoboTests ROBOTEST_FILTER=ConnectedBluetoothDeviceUpdaterTest make RunSettingsRoboTests ROBOTEST_FILTER=SavedBluetoothDeviceUpdaterTest Change-Id: Iac661206def4d43bc40ab9bb1938f084926899c2
This commit is contained in:
@@ -326,4 +326,8 @@ public abstract class BluetoothDeviceUpdater implements BluetoothCallback,
|
||||
((BluetoothDevicePreference) preference).onPreferenceAttributesChanged();
|
||||
}
|
||||
}
|
||||
|
||||
protected boolean isDeviceInCachedDevicesList(CachedBluetoothDevice cachedDevice){
|
||||
return mLocalManager.getCachedDeviceManager().getCachedDevicesCopy().contains(cachedDevice);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user