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

* commit '512fb0ca900128cb682491a7f85e20c17edd8481':
  Sync the Bluetooth name and address from the Bluetooth Adapter
This commit is contained in:
Pavlin Radoslavov
2015-06-18 00:23:53 +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();
}
}
}
};