Do not update the previously connected devices for the sub device am: c78fb83aee

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1903833

Change-Id: I3c062b23b8772496cb149ad1eff8483836a79289
This commit is contained in:
Alice Kuo
2021-11-29 02:29:31 +00:00
committed by Automerger Merge Worker

View File

@@ -65,7 +65,7 @@ public class SavedBluetoothDeviceUpdater extends BluetoothDeviceUpdater
removePreferenceIfNecessary(bluetoothDevices, cachedManager);
for (BluetoothDevice device : bluetoothDevices) {
final CachedBluetoothDevice cachedDevice = cachedManager.findDevice(device);
if (cachedDevice != null) {
if (cachedDevice != null && !cachedManager.isSubDevice(device)) {
update(cachedDevice);
}
}