movie: update recently watched item when viewer is popped 96/54696/1
authorJehun Lim <jehun.lim@samsung.com>
Thu, 17 Dec 2015 07:54:15 +0000 (16:54 +0900)
committerJehun Lim <jehun.lim@samsung.com>
Thu, 17 Dec 2015 07:54:15 +0000 (16:54 +0900)
Change-Id: Ieb71574381b21207105cc2b2e4d40aae1d37458c
Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
src/layout/movie.c

index 542236d..d5fb864 100644 (file)
@@ -686,7 +686,7 @@ static void _update(void *layout_data, int update_type, void *data)
                listmgr_update_content_item(priv->listmgr);
                _update_recent_item(priv, NULL);
                break;
-       case UPDATE_PLAY_INFO:
+       case UPDATE_FOCUS:
                if (!data) {
                        _ERR("invalid argument");
                        return;
@@ -695,8 +695,6 @@ static void _update(void *layout_data, int update_type, void *data)
                vdata = data;
 
                _update_recent_item(priv, vdata->id);
-               break;
-       case UPDATE_FOCUS:
                listmgr_focus_play_info(priv->listmgr);
                break;
        case UPDATE_BACK: