* commit '353397d874b96098d0ce458afa5d14264870df40': Sync the Bluetooth name and address from the Bluetooth Adapter
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user