When the instance create callback of the widget app returns an error,
the widget viewer gets widget instance create aborted event from
the widget app.
Requires:
- https://review.tizen.org/gerrit/#/c/119476/
- https://review.tizen.org/gerrit/#/c/119553/
- https://review.tizen.org/gerrit/#/c/119554/
Change-Id: Iec11fec8cd8803e73712514c20d77509767bc474
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
info->state = WIDGET_STATE_DETACHED;
__display_overlay_text(info);
break;
+ case WIDGET_INSTANCE_EVENT_CREATE_ABORTED:
+ event_info.event = WIDGET_EVENT_CREATED;
+ smart_signal = WIDGET_SMART_SIGNAL_WIDGET_CREATE_ABORTED;
+ __display_overlay_text(info);
+ break;
default:
/* unhandled event */
return 0;