projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6e930b
)
[Bluetooth] Fix for returned BluetoothGATTService object.
author
Tomasz Marciniak
<t.marciniak@samsung.com>
Thu, 6 Aug 2015 11:18:37 +0000
(13:18 +0200)
committer
Tomasz Marciniak
<t.marciniak@samsung.com>
Thu, 6 Aug 2015 11:18:37 +0000
(13:18 +0200)
[Verification] Code compiles.
Object is correctly created.
Change-Id: Iaab2ee5bade9c6a0e91870996b3e454591eae27e
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
src/bluetooth/bluetooth_api.js
patch
|
blob
|
history
diff --git
a/src/bluetooth/bluetooth_api.js
b/src/bluetooth/bluetooth_api.js
index
0e6c0a4
..
6f90376
100755
(executable)
--- a/
src/bluetooth/bluetooth_api.js
+++ b/
src/bluetooth/bluetooth_api.js
@@
-685,7
+685,7
@@
BluetoothLEDevice.prototype.getService = function() {
if (native.isFailure(result)) {
throw native.getErrorObject(result);
} else {
- return BluetoothGATTService(native.getResultObject(result));
+ return
new
BluetoothGATTService(native.getResultObject(result));
}
};