From: Sung-jae Park Date: Wed, 22 Oct 2014 05:26:12 +0000 (+0900) Subject: Correct errta X-Git-Tag: submit/tizen_mobile/20150512.125148^2~1^2~15^2~9^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd98e31d0d6c89a58bc6a433a426940e99fee4c0;p=platform%2Fcore%2Fappfw%2Fdata-provider-slave.git 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 --- 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;