Fix the Svace issue
authorLee Hyuk <hyuk0512.lee@samsung.com>
Wed, 4 Jan 2017 07:18:48 +0000 (16:18 +0900)
committerLee Hyuk <hyuk0512.lee@samsung.com>
Wed, 4 Jan 2017 07:19:34 +0000 (16:19 +0900)
Change-Id: Ib018683d1ae715db0af0566dd6b04732c4888098
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
packaging/csapi-network-bluetooth.spec
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothDevice.cs

index fc2c184..415492a 100644 (file)
@@ -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
index f589744..503861e 100644 (file)
@@ -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;
         }