Change-Id: Iea0e8dc778532174c618f07273f793cbee74d35b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
static int exit_called;
static char *package_id;
static bool fg_signal;
static int exit_called;
static char *package_id;
static bool fg_signal;
+static bool is_permanent;
static void _widget_core_set_appcore_event_cb(void);
static void _widget_core_unset_appcore_event_cb(void);
static void _widget_core_set_appcore_event_cb(void);
static void _widget_core_unset_appcore_event_cb(void);
handle->user_data);
if (reason == WIDGET_APP_DESTROY_TYPE_PERMANENT) {
handle->user_data);
if (reason == WIDGET_APP_DESTROY_TYPE_PERMANENT) {
event = WIDGET_INSTANCE_EVENT_DESTROY;
aul_widget_instance_del(handle->classid, id);
} else {
event = WIDGET_INSTANCE_EVENT_DESTROY;
aul_widget_instance_del(handle->classid, id);
} else {
ret = __send_update_status(handle->classid, id,
WIDGET_INSTANCE_EVENT_EXTRA_UPDATED, content_info);
}
ret = __send_update_status(handle->classid, id,
WIDGET_INSTANCE_EVENT_EXTRA_UPDATED, content_info);
}
exit_called = 1;
elm_exit();
exit_called = 1;
elm_exit();
+ if (!_widget_app_get_contexts() && is_permanent)
+ aul_notify_exit();
return WIDGET_ERROR_NONE;
}
return WIDGET_ERROR_NONE;
}