From 34861ab9a52e0d20c08b394ff8b8f86c346a7856 Mon Sep 17 00:00:00 2001 From: Lee Hyuk Date: Wed, 4 Jan 2017 16:18:48 +0900 Subject: [PATCH] Fix the Svace issue Change-Id: Ib018683d1ae715db0af0566dd6b04732c4888098 Signed-off-by: Lee Hyuk --- Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothDevice.cs | 6 +++++- packaging/csapi-network-bluetooth.spec | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- 2.7.4