Save changed name from CachedBluetoothDevice to native storage

The change preserves the friendly name change over power cycle.
bug 5081605

Change-Id: I2b2cce5a789c72d52439511c42df369639eb0b4b
This commit is contained in:
Matthew Xie
2011-07-26 21:27:34 -07:00
parent a7c32ad749
commit 2036ebd889
7 changed files with 10 additions and 10 deletions

View File

@@ -104,7 +104,7 @@ final class CachedBluetoothDeviceManager {
return cachedDevice.getName();
}
String name = device.getName();
String name = device.getAliasName();
if (name != null) {
return name;
}