Merge "Remove all device from preference when BT is disabled" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e69a25caad
@@ -115,6 +115,8 @@ public abstract class BluetoothDeviceUpdater implements BluetoothCallback,
|
||||
for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) {
|
||||
update(cachedBluetoothDevice);
|
||||
}
|
||||
} else {
|
||||
removeAllDevicesFromPreference();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user