mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1036234 - Fix the follow-up errors from implementation of pairing event handlers. r=btian
This commit is contained in:
parent
b911a755a1
commit
94c4c21f5e
@ -921,7 +921,7 @@ BluetoothAdapter::HandleDevicePaired(const BluetoothValue& aValue)
|
||||
|
||||
// Notify application of paired device
|
||||
BluetoothDeviceEventInit init;
|
||||
init.mDevice = pairedDevice.
|
||||
init.mDevice = pairedDevice;
|
||||
DispatchDeviceEvent(NS_LITERAL_STRING("devicepaired"), init);
|
||||
}
|
||||
|
||||
|
@ -753,7 +753,7 @@ BondStateChangedCallback(bt_status_t aStatus, bt_bdaddr_t* aRemoteBdAddress,
|
||||
|
||||
// Update attribute BluetoothDevice.paired
|
||||
InfallibleTArray<BluetoothNamedValue> props;
|
||||
BT_APPEND_NAMED_VALUE(props, "paired", bonded);
|
||||
BT_APPEND_NAMED_VALUE(props, "Paired", bonded);
|
||||
|
||||
BluetoothSignal deviceSignal(NS_LITERAL_STRING("PropertyChanged"),
|
||||
remoteBdAddress,
|
||||
|
Loading…
Reference in New Issue
Block a user