Change-Id: I591b96febb68a5d33e647ed3b19b4b398c4f3edf
Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
static void _usb_changed_cb(void *data, int state)
{
media_content_noti_h noti_h;
+ struct view_update_data vdata;
struct _priv *priv;
int r;
_ERR("failed to add db updated cb: %d", r);
priv->noti_h = noti_h;
+
+ vdata.status = E_PLAYER_STOP;
+ viewmgr_update_view(VIEW_MPLAYER, UPDATE_PLAYER, &vdata);
+
+ /* to show base view */
+ while (viewmgr_active_view_count() > 1)
+ viewmgr_pop_view();
}
static Evas_Object *_create(Evas_Object *win, void *data)