Merge "Fix bluetooth device forgetting" into nyc-dev
This commit is contained in:
@@ -181,6 +181,7 @@ public abstract class DeviceListPreferenceFragment extends
|
|||||||
|
|
||||||
if (preference == null) {
|
if (preference == null) {
|
||||||
preference = new BluetoothDevicePreference(getPrefContext(), cachedDevice);
|
preference = new BluetoothDevicePreference(getPrefContext(), cachedDevice);
|
||||||
|
preference.setKey(key);
|
||||||
mDeviceListGroup.addPreference(preference);
|
mDeviceListGroup.addPreference(preference);
|
||||||
} else {
|
} else {
|
||||||
// Tell the preference it is being re-used in case there is new info in the
|
// Tell the preference it is being re-used in case there is new info in the
|
||||||
|
Reference in New Issue
Block a user