Fix bluetooth device forgetting

Bug: 27476922
Change-Id: I8c5b7076a04185371311fb4ff1c1ba0df0df19dc
This commit is contained in:
Jason Monk
2016-03-18 14:11:25 -04:00
parent 297ce9aaf3
commit 38d8fc0f86

View File

@@ -181,6 +181,7 @@ public abstract class DeviceListPreferenceFragment extends
if (preference == null) {
preference = new BluetoothDevicePreference(getPrefContext(), cachedDevice);
preference.setKey(key);
mDeviceListGroup.addPreference(preference);
} else {
// Tell the preference it is being re-used in case there is new info in the