[Bluetooth] Fix onvisibilitychanged callback 83/230183/6
authorDawid Juszczak <d.juszczak@samsung.com>
Mon, 8 Jun 2020 18:14:47 +0000 (20:14 +0200)
committerDawid Juszczak <d.juszczak@samsung.com>
Tue, 9 Jun 2020 10:25:51 +0000 (10:25 +0000)
commitdc4ef2e4616be440024a7d71b494af31049bec16
tree2c096a8874226522121971fef2040afea5d92640
parent08b8f82e8bd729752fc5842507666e7ab9498ed6
[Bluetooth] Fix onvisibilitychanged callback

https://code.sec.samsung.net/jira/browse/XWALK-2065

[Description]
+ removed unnecessary calls of onvisibilitychanged of BluetoothAdapterChangeCallback
+ refactor setVisible function

[Verification]
+ tested manually on chrome console
+ tct-bluetooth-tizen-tests (auto) - 100% PASS

Change-Id: I7edcb5a1028fec68d917a9b0e91a18c4d0d5294c
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
src/bluetooth/bluetooth_adapter.cc
src/bluetooth/bluetooth_adapter.h