summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cc471d9)
Change-Id: Iea0e8dc778532174c618f07273f793cbee74d35b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
static char *__package_id;
static bool __fg_signal;
static char *__viewer_endpoint;
static char *__package_id;
static bool __fg_signal;
static char *__viewer_endpoint;
+static bool __is_permanent;
static void __call_update_cb(const char *class_id, const char *id, int force,
const char *content_raw);
static void __call_update_cb(const char *class_id, const char *id, int force,
const char *content_raw);
EXPORT_API int widget_base_exit(void)
{
appcore_multiwindow_base_exit();
EXPORT_API int widget_base_exit(void)
{
appcore_multiwindow_base_exit();
+ if (appcore_multiwindow_base_instance_get_cnt() != 0 && __is_permanent)
+ aul_notify_exit();
LOGD("%s is destroyed %d", id, reason);
if (reason == WIDGET_BASE_DESTROY_TYPE_PERMANENT) {
LOGD("%s is destroyed %d", id, reason);
if (reason == WIDGET_BASE_DESTROY_TYPE_PERMANENT) {
event = WIDGET_INSTANCE_EVENT_DESTROY;
aul_widget_instance_del(class_id, id);
} else {
event = WIDGET_INSTANCE_EVENT_DESTROY;
aul_widget_instance_del(class_id, id);
} else {
+ __is_permanent = false;
__send_update_status(class_id, id,
WIDGET_INSTANCE_EVENT_EXTRA_UPDATED,
content_info);
__send_update_status(class_id, id,
WIDGET_INSTANCE_EVENT_EXTRA_UPDATED,
content_info);