From bd98e31d0d6c89a58bc6a433a426940e99fee4c0 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Wed, 22 Oct 2014 14:26:12 +0900 Subject: [PATCH] Correct errta [model] Redwood,Kiran,B3(Wearable) [binary_type] AP [customer] Docomo/Orange/ATT/Open [issue#] N/A [problem] [cause] [solution] [team] HomeTF [request] [horizontal_expansion] Change-Id: I1e1d06a0b552032f223bb3945438693ee951ffc5 --- src/client.c | 2 +- src/dbox.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client.c b/src/client.c index ee10f08..9fe9d2b 100644 --- a/src/client.c +++ b/src/client.c @@ -187,7 +187,7 @@ static int method_delete(struct dynamicbox_event_arg *arg, void *data) DbgPrint("pkgname[%s] id[%s]\n", arg->pkgname, arg->id); - if (arg->info.dbox_destroy.type == DBOX_DESTROY_DEFAULT || arg->info.dbox_destroy.type == DBOX_DESTROY_UNINSTALL) { + if (arg->info.dbox_destroy.type == DBOX_DESTROY_TYPE_DEFAULT || arg->info.dbox_destroy.type == DBOX_DESTROY_TYPE_UNINSTALL) { DbgPrint("Box is deleted from the viewer\n"); (void)dbox_system_event(arg->pkgname, arg->id, DBOX_SYS_EVENT_DELETED); } diff --git a/src/dbox.c b/src/dbox.c index 9779b8c..022dfa9 100644 --- a/src/dbox.c +++ b/src/dbox.c @@ -321,7 +321,7 @@ static inline void do_force_update(struct item *item) if (ret <= 0) { if (so_need_to_destroy(item->inst) == DBOX_NEED_TO_DESTROY) { dynamicbox_provider_send_deleted(item->inst->item->pkgname, item->inst->id); - dbox_destroy(item->inst->item->pkgname, item->inst->id, DBOX_DESTROY_DEFAULT); + dbox_destroy(item->inst->item->pkgname, item->inst->id, DBOX_DESTROY_TYPE_DEFAULT); /*! * \CRITICAL * Every caller of this, must not access the item from now. @@ -1092,7 +1092,7 @@ static Eina_Bool updator_cb(void *data) if (ret <= 0) { if (so_need_to_destroy(item->inst) == DBOX_NEED_TO_DESTROY) { dynamicbox_provider_send_deleted(item->inst->item->pkgname, item->inst->id); - dbox_destroy(item->inst->item->pkgname, item->inst->id, DBOX_DESTROY_DEFAULT); + dbox_destroy(item->inst->item->pkgname, item->inst->id, DBOX_DESTROY_TYPE_DEFAULT); /*! * \CRITICAL * Every caller of this, must not access the item from now. @@ -1790,7 +1790,7 @@ HAPI int dbox_destroy(const char *pkgname, const char *id, int type) /* * To keep the previous status, we should or'ing the value. */ - item->unload_so = (item->unload_so || (type == DBOX_DESTROY_UNINSTALL)); + item->unload_so = (item->unload_so || (type == DBOX_DESTROY_TYPE_UNINSTALL)); if (item->monitor) { item->deleteme = 1; -- 2.7.4