[Bluetooth] setChangeListener API fix
authorCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Fri, 4 Jul 2014 14:35:19 +0000 (16:35 +0200)
committerCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Mon, 7 Jul 2014 14:29:41 +0000 (16:29 +0200)
commitc966b111fe8fa55508cf6abf2c9ed0053c9d6581
treee8b89a548bee2b4c3dee6a1136cf7c5440c77709
parent4338cc192962a235fe2ced2f7ee2d9cca6547325
[Bluetooth] setChangeListener API fix

Now 'AdapterUpdated' JSON message is sent to javascript and
checks listener existence before calling its callbacks.
bluetooth/bluetooth_api.js
bluetooth/bluetooth_instance_capi.cc