summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/bluetooth/BluetoothSettings.java
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2014-09-08 22:30:18 -0700
committerMatthew Xie <mattx@google.com>2014-09-09 15:12:43 -0700
commitb17031bed0ae81b5f342e0c0591b560f7c8849ed (patch)
tree4a88370cc92f99ce6a995fe505878078aed36c60 /src/com/android/settings/bluetooth/BluetoothSettings.java
parent1f389c1996d754142c52c947105af4ec2db84f5c (diff)
downloadpackages_apps_Settings-b17031bed0ae81b5f342e0c0591b560f7c8849ed.zip
packages_apps_Settings-b17031bed0ae81b5f342e0c0591b560f7c8849ed.tar.gz
packages_apps_Settings-b17031bed0ae81b5f342e0c0591b560f7c8849ed.tar.bz2
Do not remove bonded devices from cached device list upon a device scan
Bug: 17405122 Change-Id: I3f5cc6ddc8f85d3b6223f9ff60e1d5eeb76c530a
Diffstat (limited to 'src/com/android/settings/bluetooth/BluetoothSettings.java')
-rwxr-xr-xsrc/com/android/settings/bluetooth/BluetoothSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/bluetooth/BluetoothSettings.java b/src/com/android/settings/bluetooth/BluetoothSettings.java
index e29ccc9..105bdf2 100755
--- a/src/com/android/settings/bluetooth/BluetoothSettings.java
+++ b/src/com/android/settings/bluetooth/BluetoothSettings.java
@@ -244,7 +244,7 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment implem
removeAllDevices();
}
- mLocalManager.getCachedDeviceManager().clearCachedDevices();
+ mLocalManager.getCachedDeviceManager().clearNonBondedDevices();
mAvailableDevicesCategory.removeAll();
mInitialScanStarted = true;
mLocalAdapter.startScanning(true);