Revert "[Tizen][Temporary Fix] Restore to call InputMethodContext::Finalize()"
authorSunghyun kim <scholb.kim@samsung.com>
Mon, 3 Sep 2018 03:08:10 +0000 (12:08 +0900)
committerSunghyun kim <scholb.kim@samsung.com>
Mon, 3 Sep 2018 03:08:15 +0000 (12:08 +0900)
This reverts commit ff9977f79e05b6640dad7fc553ce78ee832468e8.

Change-Id: If4b3c41e8008caeaa4920ba1e032300bc1405b28

dali-csharp-binder/src/input-method-context.cpp

index abb2e3f..ddcd31c 100755 (executable)
@@ -460,12 +460,14 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_InputMethodContext_CallbackData(v
 }
 
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_InputMethodContext_Finalize(void * jarg1) {
-  Dali::InputMethodContext *arg1 = (Dali::InputMethodContext *) 0 ;
+  //This is not necessary in tizen5.0, but because of backwards compatibility, the method is maintained but the body is deleted.
+  //Dali::InputMethodContext *arg1 = (Dali::InputMethodContext *) 0 ;
 
-  arg1 = (Dali::InputMethodContext *)jarg1;
+  //arg1 = (Dali::InputMethodContext *)jarg1;
   {
     try {
-      (arg1)->Finalize();
+      //This is not necessary in tizen5.0, but because of backwards compatibility, the method is maintained but the body is deleted.
+      //(arg1)->Finalize();
     } catch (std::out_of_range& e) {
       {
         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;