[Bluetooth[ - Removing TODO from the module
authorAndrzej Popowski <a.popowski@samsung.com>
Fri, 2 Oct 2015 09:28:42 +0000 (11:28 +0200)
committerAndrzej Popowski <a.popowski@samsung.com>
Fri, 2 Oct 2015 09:28:42 +0000 (11:28 +0200)
Change-Id: I60f8af1301791e2eedc6ac0d44a65c65b442cef6
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
src/bluetooth/bluetooth_api.js

index 997ebb3..4ed275c 100755 (executable)
@@ -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);
 };