Change-Id: Ieca6828db5277f04dfb6d3ed0f3c7a12f4787c0f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
return 0;
}
+static int __service_app_receive(aul_type type, bundle *b, void *data)
+{
+ appcore_base_on_receive(type, b);
+
+ if (type == AUL_TERMINATE_BGAPP) {
+ appcore_base_exit();
+ return 0;
+ }
+
+ return 0;
+}
+
static void __loop_init(int argc, char **argv, void *data)
{
ecore_init();
ops.create = __service_app_create;
ops.terminate = __service_app_terminate;
ops.control = __service_app_control;
+ ops.receive = __service_app_receive;
ops.run = method->run;
ops.exit = method->exit;
ops.init = method->init;