[Tizen] to avoid native crash 00/144100/1
authorminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 08:19:30 +0000 (17:19 +0900)
committerminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 08:19:30 +0000 (17:19 +0900)
This reverts commit 047a07e3a42bf00cd57722d3899d899face83983.

Change-Id: I68c14ec44ff40fb8c6947f78a85000bf70097c80

Tizen.NUI/src/public/FocusManager.cs
packaging/csapi-nui.spec

index f86c192..ac1aaff 100755 (executable)
@@ -469,6 +469,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;
index ae85cbd..d8c8cd7 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