[Bluetooth] Handle System.TypeInitializationException 20/149620/1
authorGowtham Anandha Babu <gowtham.ab@samsung.com>
Tue, 12 Sep 2017 15:58:13 +0000 (21:28 +0530)
committerGowtham Anandha Babu <gowtham.ab@samsung.com>
Tue, 12 Sep 2017 15:58:13 +0000 (21:28 +0530)
commit5b3d41fdd5edc485c860a082a415ae5443fbec56
treee93d8c3227d78c417d90bceacf951b103793ed61
parent074b2ec760f8e32a0ad949cb9975c7e9d5042699
[Bluetooth] Handle System.TypeInitializationException

If bluetooth is not supported in platform, lower layer will return
NOT_SUPPORTED error. BluetoothAdapterImpl class will throw
System.TypeInitializationException, which needs to be handled
in BluetoothAdapter class.

Change-Id: Ia32ceec4dba24f81ae18051f8724eafef096ea28
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothAdapter.cs
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothAdapterImpl.cs