summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJehun Lim <jehun.lim@samsung.com>2015-12-17 16:54:15 +0900
committerJehun Lim <jehun.lim@samsung.com>2015-12-17 16:54:15 +0900
commitbe296b1a2cce3a2458ac05a680e295c9ab32a77f (patch)
treed0d6f6785911d368134e3a721ba7ab835f2ecb30
parente75bce4ca6ad3157168bf04f3495559da1119b72 (diff)
downloadair_mediahub-be296b1a2cce3a2458ac05a680e295c9ab32a77f.tar.gz
air_mediahub-be296b1a2cce3a2458ac05a680e295c9ab32a77f.tar.bz2
air_mediahub-be296b1a2cce3a2458ac05a680e295c9ab32a77f.zip
movie: update recently watched item when viewer is popped
Change-Id: Ieb71574381b21207105cc2b2e4d40aae1d37458c Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
-rw-r--r--src/layout/movie.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/layout/movie.c b/src/layout/movie.c
index 542236d..d5fb864 100644
--- a/src/layout/movie.c
+++ b/src/layout/movie.c
@@ -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: