Bug 1036234 - Fix the follow-up errors from implementation of pairing event handlers. r=btian

This commit is contained in:
Jamin Liu 2014-08-14 11:34:10 +08:00
parent b911a755a1
commit 94c4c21f5e
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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,