Merge "Remove all device from preference when BT is disabled" into qt-dev

am: e69a25caad

Change-Id: I84cb23ab372c897121ea239aa8f1f4c337f5d59d
This commit is contained in:
hughchen
2019-04-19 09:46:50 -07:00
committed by android-build-merger
2 changed files with 7 additions and 2 deletions

View File

@@ -115,6 +115,8 @@ public abstract class BluetoothDeviceUpdater implements BluetoothCallback,
for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) {
update(cachedBluetoothDevice);
}
} else {
removeAllDevicesFromPreference();
}
}