From: Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics Date: Mon, 4 Jan 2021 12:37:04 +0000 (+0100) Subject: Merge commit 'tizen_5.5' into tizen_6.0 X-Git-Tag: submit/tizen_6.0/20210128.113333~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1448b3346a2507fa94aa5ccee40d5c575c452cf5;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git Merge commit 'tizen_5.5' into tizen_6.0 Change-Id: I7d175b5f87cdcbc8a2d701dc5228a6f4b98a92a8 --- 1448b3346a2507fa94aa5ccee40d5c575c452cf5 diff --cc packaging/webapi-plugins.spec index dbad03bd,a28cbc50..a9964995 --- a/packaging/webapi-plugins.spec +++ b/packaging/webapi-plugins.spec @@@ -10,7 -10,7 +10,7 @@@ Name: webapi-plugins - Version: 2.77 -Version: 2.70 ++Version: 2.78 Release: 0 License: Apache-2.0 and BSD-3-Clause and MIT Group: Development/Libraries diff --cc src/bluetooth/bluetooth_api.js index 826cbb9e,212beb86..1cbaf96a --- a/src/bluetooth/bluetooth_api.js +++ b/src/bluetooth/bluetooth_api.js @@@ -1646,18 -1532,10 +1644,20 @@@ BluetoothLEAdapter.prototype.stopScan if (native.isFailure(result)) { throw native.getErrorObject(result); } + + _bleScanListener.removeListener(); }; +BluetoothLEAdapter.prototype.isScanning = function() { + privUtils_.log('Entered BluetoothLEAdapter.isScanning()'); + + var result = native.callSync('BluetoothLEAdapterIsScanning', {}); + if (native.isFailure(result)) { + throw native.getErrorObject(result); + } + return native.getResultObject(result); +}; + var _BluetoothAdvertisePacketType = { ADVERTISE: 'ADVERTISE', SCAN_RESPONSE: 'SCAN_RESPONSE'