am 353397d8: am 512fb0ca: Sync the Bluetooth name and address from the Bluetooth Adapter

* commit '353397d874b96098d0ce458afa5d14264870df40':
  Sync the Bluetooth name and address from the Bluetooth Adapter
This commit is contained in:
Pavlin Radoslavov
2015-06-18 00:46:05 +00:00
committed by Android Git Automerger

View File

@@ -237,6 +237,12 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
sendEnableMsg(mQuietEnableExternal);
}
}
if (!isNameAndAddressSet()) {
// Sync the Bluetooth name and address from the Bluetooth Adapter
if (DBG) Log.d(TAG,"Retrieving Bluetooth Adapter name and address...");
getNameAndAddress();
}
}
}
};