From 5e828cff495fbdc67a0e534acf008eca7dda1c94 Mon Sep 17 00:00:00 2001 From: Andrzej Popowski Date: Fri, 2 Oct 2015 11:28:42 +0200 Subject: [PATCH] [Bluetooth[ - Removing TODO from the module Change-Id: I60f8af1301791e2eedc6ac0d44a65c65b442cef6 Signed-off-by: Andrzej Popowski --- src/bluetooth/bluetooth_api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }; -- 2.7.4