Fix KeyboardFocusManager custom algorithm reset 85/205785/1
authordongsug.song <dongsug.song@samsung.com>
Tue, 7 May 2019 07:34:44 +0000 (16:34 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Thu, 9 May 2019 06:59:58 +0000 (15:59 +0900)
- Null checking of CSharp_Dali_SetCustomAlgorithm()'s arg2 is removed. arg2's null set means resetting user's CustomAlgrithm so it can be a null value.

Change-Id: Id06ed48f4a9ccc31655997585aea4f5d605ed016
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
dali-csharp-binder/src/dali_wrap.cpp

index 8000849..e01367b 100755 (executable)
@@ -92326,10 +92326,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetCustomAlgorithm(void * jarg1, void *
   }
   arg1 = *argp1;
   arg2 = (Dali::Toolkit::DevelKeyboardFocusManager::CustomAlgorithmInterface *)jarg2;
-  if (!arg2) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::DevelKeyboardFocusManager::CustomAlgorithmInterface & type is null", 0);
-    return ;
-  }
+  //Null checking of arg2 is removed. arg2's null set means resetting so it can be a null value.
   {
     try {
       Dali::Toolkit::DevelKeyboardFocusManager::SetCustomAlgorithm(arg1,*arg2);