Merge "Bluetooth : fix for showing paired device list error"

This commit is contained in:
Jake Hamby
2011-08-25 15:14:47 -07:00
committed by Android (Google) Code Review

View File

@@ -236,6 +236,7 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment {
case BluetoothAdapter.STATE_ON:
preferenceScreen.removeAll();
preferenceScreen.setOrderingAsAdded(true);
mDevicePreferenceMap.clear();
// This device
if (mMyDevicePreference == null) {