Calling efl API before init if got something wrong.
Change-Id: I5d5158b39f9b96de2c3d439aa4e6d5b1d253515d
Signed-off-by: Woochanlee <wc0917.lee@samsung.com>
ui_app_capi *app = g_app;
if (app) return UI_VIEWMGR_ERROR_ALREADY_IN_PROGRESS;
+ //When the viewmgr app launching if the candidate process has been terminated already,
+ //or CPU usage reason, the app process will execute by execv() by appfw.
+ //At that case the elm_init is not happed before call ui_app_main in the app.
+ //If user call ui_application_init function in case the application got something wrong.
+ elm_init(0, NULL);
+
app = new(std::nothrow) ui_app_capi();
if (!app)
{