In the ui_view use case. the content is not swallowed
when user call set_content() when ui_view already activated.
Change-Id: I765d489ff679dce8b8a513d7f3f24eefdf3b0caf
if (content) {
evas_object_event_callback_add(content, EVAS_CALLBACK_DEL, _contentDelCb, this);
+ auto viewmgr = UI_BASE_VIEWMGR;
+ if ((viewmgr->getBase() == this->getBase()) && (this->getState() == UI_VIEW_STATE_ACTIVATE)) {
+ elm_layout_content_set(this->getBase(), "content", content);
+ }
+
return UiIfaceView::setContent(content);
}