From: Andrzej Popowski Date: Fri, 2 Oct 2015 09:28:42 +0000 (+0200) Subject: [Bluetooth[ - Removing TODO from the module X-Git-Tag: accepted/tizen/mobile/20151026.233336^2^2~61^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e828cff495fbdc67a0e534acf008eca7dda1c94;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Bluetooth[ - Removing TODO from the module Change-Id: I60f8af1301791e2eedc6ac0d44a65c65b442cef6 Signed-off-by: Andrzej Popowski --- diff --git a/src/bluetooth/bluetooth_api.js b/src/bluetooth/bluetooth_api.js index 997ebb3..4ed275c 100755 --- a/src/bluetooth/bluetooth_api.js +++ b/src/bluetooth/bluetooth_api.js @@ -829,8 +829,8 @@ BluetoothDevice.prototype.connectToServiceByUUID = function() { } }; - // native.call does not inform if call results in failure - // TODO: what to do in this case? + // The native function BluetoothDevice_connectToServiceByUUID always returns success + // Errors are handled by error callback native.call('BluetoothDevice_connectToServiceByUUID', callArgs, callback); };