Correct errta
authorSung-jae Park <nicesj.park@samsung.com>
Wed, 22 Oct 2014 05:26:12 +0000 (14:26 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Wed, 22 Oct 2014 05:26:12 +0000 (14:26 +0900)
[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
src/dbox.c

index ee10f08..9fe9d2b 100644 (file)
@@ -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);
        }
index 9779b8c..022dfa9 100644 (file)
@@ -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;