From 40f00fd40a7c6aca75db43d2caab94d02f76d0d4 Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Tue, 7 May 2019 16:34:44 +0900 Subject: [PATCH] [Tizen] Fix KeyboardFocusManager custom algorithm reset - 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 --- dali-csharp-binder/src/dali_wrap.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dali-csharp-binder/src/dali_wrap.cpp b/dali-csharp-binder/src/dali_wrap.cpp index 143ae9e..aa15bcf 100755 --- a/dali-csharp-binder/src/dali_wrap.cpp +++ b/dali-csharp-binder/src/dali_wrap.cpp @@ -92325,10 +92325,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); -- 2.7.4