fix N_SE-27494 with IME app fg event handling
authorYoung Ik Cho <youngik.cho@samsung.com>
Fri, 22 Mar 2013 03:54:10 +0000 (12:54 +0900)
committerYoung Ik Cho <youngik.cho@samsung.com>
Fri, 22 Mar 2013 03:59:33 +0000 (12:59 +0900)
Change-Id: I224b8527913a8955744a729afe517cb9b99a7cf4
Signed-off-by: Young Ik Cho <youngik.cho@samsung.com>
src/app/FApp_UiAppImpl.cpp

index 106e8fe..2f229d8 100644 (file)
@@ -131,7 +131,15 @@ _UiAppImpl::OnService(service_s* service, bool initial)
 
                if (initial)
                {
-                       OnResume();
+                       const int type = _AppInfo::GetAppType();
+                       if (type & _APP_TYPE_IME_APP)
+                       {
+                               SysLog(NID_APP, "Skipping 1st resume for IME app.");
+                       }
+                       else
+                       {
+                               OnResume();
+                       }
                }
        }