Fix the Svace issue 80/108380/1 accepted/tizen/common/20170111.133637 accepted/tizen/common/20170111.171346 accepted/tizen/mobile/20170109.084745 accepted/tizen/tv/20170109.084810 submit/tizen/20170109.061539 submit/tizen_common/20161229.045021 submit/tizen_common/20170111.164442
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>
Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothDevice.cs
packaging/csapi-network-bluetooth.spec

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;
         }
 
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