am 1d390e7f: Merge change 25976 into eclair
Merge commit '1d390e7f9e0eda7b5ae280493bc604b5bb99a8f2' into eclair-plus-aosp * commit '1d390e7f9e0eda7b5ae280493bc604b5bb99a8f2': Fix adapter name change problem.
This commit is contained in:
@@ -266,8 +266,8 @@ class BluetoothEventLoop {
|
||||
}
|
||||
String name = propValues[0];
|
||||
if (name.equals("Name")) {
|
||||
Intent intent = new Intent(BluetoothDevice.ACTION_NAME_CHANGED);
|
||||
intent.putExtra(BluetoothDevice.EXTRA_NAME, propValues[1]);
|
||||
Intent intent = new Intent(BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED);
|
||||
intent.putExtra(BluetoothAdapter.EXTRA_LOCAL_NAME, propValues[1]);
|
||||
mContext.sendBroadcast(intent, BLUETOOTH_PERM);
|
||||
mBluetoothService.setProperty(name, propValues[1]);
|
||||
} else if (name.equals("Pairable") || name.equals("Discoverable")) {
|
||||
|
||||
Reference in New Issue
Block a user