Bug 1228519 - Fix RequestReadNotification for GATT Server API. r=brsun

This commit is contained in:
Jocelyn Liu 2015-11-30 20:24:07 +08:00
parent a84e009ffd
commit 963cd9f23f

View File

@ -3687,7 +3687,7 @@ BluetoothGattManager::RequestReadNotification(
AppendNamedValue(properties, "AttrHandle", aAttributeHandle);
AppendNamedValue(properties, "Address", bdAddrStr);
AppendNamedValue(properties, "NeedResponse", true);
AppendNamedValue(properties, "Value", new nsTArray<uint8_t>());
AppendNamedValue(properties, "Value", nsTArray<uint8_t>());
bs->DistributeSignal(NS_LITERAL_STRING("ReadRequested"),
server->mAppUuid,