From: Lee Hyuk Date: Wed, 4 Jan 2017 07:18:48 +0000 (+0900) Subject: Fix the Svace issue X-Git-Tag: accepted/tizen/common/20170111.133637^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F80%2F108380%2F1;p=platform%2Fcore%2Fcsapi%2Fbluetooth.git Fix the Svace issue Change-Id: Ib018683d1ae715db0af0566dd6b04732c4888098 Signed-off-by: Lee Hyuk --- diff --git a/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothDevice.cs b/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothDevice.cs index f589744..503861e 100644 --- a/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothDevice.cs +++ b/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothDevice.cs @@ -653,7 +653,11 @@ namespace Tizen.Network.Bluetooth BluetoothHid hid = new BluetoothHid(); profile = (hid as T); } - profile.RemoteAddress = RemoteDeviceAddress; + + if (profile != null) + { + profile.RemoteAddress = RemoteDeviceAddress; + } return profile; } diff --git a/packaging/csapi-network-bluetooth.spec b/packaging/csapi-network-bluetooth.spec index fc2c184..415492a 100644 --- a/packaging/csapi-network-bluetooth.spec +++ b/packaging/csapi-network-bluetooth.spec @@ -8,7 +8,7 @@ Name: csapi-network-bluetooth Summary: Tizen Bluetooth API for C# -Version: 1.0.2 +Version: 1.0.3 Release: 1 Group: Development/Libraries License: Apache-2.0