[Tizen] to avoid native crash
authordongsug.song <dongsug.song@samsung.com>
Wed, 26 Jul 2017 05:46:17 +0000 (14:46 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Wed, 26 Jul 2017 06:16:43 +0000 (15:16 +0900)
Change-Id: I1a0eeb26113cb25e2b4f29022148dc6aa4226250
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
packaging/csapi-nui.spec
src/Tizen.NUI/Tizen.NUI.csproj
src/Tizen.NUI/src/public/FocusManager.cs

index c59f6d7..e5436f9 100755 (executable)
@@ -5,7 +5,7 @@ Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0 and BSD-3-Clause and MIT
 URL:        https://www.tizen.org
-Source0:    %{name}-%{version}.tar.gz
+Source0:    %{name}-%{version}-pre1.tar.gz
 Source1:    %{name}.manifest
 
 AutoReqProv: no
index 63d87d8..a652f40 100755 (executable)
@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">\r
 \r
   <PropertyGroup>\r
-    <Version>0.2.49</Version>\r
+    <Version>0.2.49-pre1</Version>\r
     <Authors>Samsung Electronics</Authors>\r
     <Copyright>© Samsung Electronics Co., Ltd All Rights Reserved</Copyright>\r
     <Description>\r
index 8eb6116..c528820 100755 (executable)
@@ -444,6 +444,11 @@ namespace Tizen.NUI
         /// <returns>Whether the focus is successful or not</returns>
         public bool SetCurrentFocusView(View view)
         {
+            if(view == null)
+            {
+                throw new ArgumentNullException("the target view should not be null");
+            }
+
             bool ret = NDalicManualPINVOKE.FocusManager_SetCurrentFocusActor(swigCPtr, View.getCPtr(view));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;