__context.suspended_state = false;
__context.allowed_bg = false;
+ traceBegin(TTRACE_TAG_APPLICATION_MANAGER, "APPCORE:OPS_INIT");
if (__context.ops.init)
__context.ops.init(argc, argv, data);
+ traceEnd(TTRACE_TAG_APPLICATION_MANAGER);
if (TIZEN_FEATURE_BACKGROUND_MANAGEMENT)
g_idle_add(__init_suspend, NULL);
+ traceBegin(TTRACE_TAG_APPLICATION_MANAGER, "APPCORE:SET_SYSTEM_EVENT");
if (!__context.dirty) {
__context.dirty = true;
}
}
}
+ traceEnd(TTRACE_TAG_APPLICATION_MANAGER);
+ traceBegin(TTRACE_TAG_APPLICATION_MANAGER, "APPCORE:VERIFY_LANG");
__verify_language();
+ traceEnd(TTRACE_TAG_APPLICATION_MANAGER);
+ traceBegin(TTRACE_TAG_APPLICATION_MANAGER, "APPCORE:SET_DEFAULT_EVENTS");
__set_default_events();
+ traceEnd(TTRACE_TAG_APPLICATION_MANAGER);
if (__context.ops.set_i18n)
__context.ops.set_i18n(__context.data);
char appid[PATH_MAX] = {0, };
int ret;
+ traceBegin(TTRACE_TAG_APPLICATION_MANAGER, "APPCORE:ECORE_WL2_INIT");
if (!ecore_wl2_init()) {
_ERR("could not wl2 init");
return -1;
}
+ traceEnd(TTRACE_TAG_APPLICATION_MANAGER);
+ traceBegin(TTRACE_TAG_APPLICATION_MANAGER, "APPCORE:DISPLAY_CONNECT");
ecore_wl2_display_connect(NULL);
+ traceEnd(TTRACE_TAG_APPLICATION_MANAGER);
+
+ traceBegin(TTRACE_TAG_APPLICATION_MANAGER, "APPCORE:PLUGIN_INIT");
appcore_ui_plugin_init(&ops, argc, argv, &hint);
+ traceEnd(TTRACE_TAG_APPLICATION_MANAGER);
ret = aul_app_get_appid_bypid(getpid(), appid, sizeof(appid));
if (ret != 0) {
_ERR("Fail to get appid (%d)", getpid());
}
}
- if (__context.hint & APPCORE_UI_BASE_HINT_WINDOW_ID_CONTROL)
+ if (__context.hint & APPCORE_UI_BASE_HINT_WINDOW_ID_CONTROL) {
+ traceBegin(TTRACE_TAG_APPLICATION_MANAGER, "APPCORE:SET_APPID");
__set_app_id();
+ traceEnd(TTRACE_TAG_APPLICATION_MANAGER);
+ }
return appcore_base_init(ops.base, argc, argv, data);
}