From: anshu.kumar Date: Tue, 5 Jul 2016 12:26:19 +0000 (+0530) Subject: [VIDEO-PLAYER][TSAM-6010]Resolved share popup related issue X-Git-Tag: submit/tizen_mobile/20160705.142408^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d7ebca218cd7c8f9eaabb27de2621600bd4dc15;p=profile%2Fmobile%2Fapps%2Fnative%2Fvideo-player.git [VIDEO-PLAYER][TSAM-6010]Resolved share popup related issue Change-Id: If266b56afcfdf67f5dd15dd980695ffd9aae0477 Signed-off-by: anshu.kumar --- diff --git a/playview/src/view/include/vp-play-view-priv.h b/playview/src/view/include/vp-play-view-priv.h index f7e710a..7ef604f 100644 --- a/playview/src/view/include/vp-play-view-priv.h +++ b/playview/src/view/include/vp-play-view-priv.h @@ -47,6 +47,7 @@ typedef struct _PlayView { bool bAVRCP; bool bWifi; bool bIsPlayBeforeShare; + bool bIsSharePopup; bool bStoreDownload; bool bStopAfterRepeat; diff --git a/playview/src/view/vp-play-normal-view.c b/playview/src/view/vp-play-normal-view.c index ef4140e..080d0f2 100644 --- a/playview/src/view/vp-play-normal-view.c +++ b/playview/src/view/vp-play-normal-view.c @@ -7866,6 +7866,7 @@ static void _vp_play_normal_view_on_share_popup(NormalView *pNormalView) if (!vp_mm_player_get_state(pNormalView->pPlayerHandle, &nState)) { VideoLogWarning("vp_mm_player_get_state is fail"); } + pPlayView->bIsSharePopup = TRUE; if(nState != VP_MM_PLAYER_STATE_PLAYING) { pPlayView->bIsPlayBeforeShare = false; diff --git a/playview/src/vp-play-view.c b/playview/src/vp-play-view.c index 94a5e22..078a9ee 100644 --- a/playview/src/vp-play-view.c +++ b/playview/src/vp-play-view.c @@ -2171,9 +2171,11 @@ bool vp_play_view_unrealize(play_view_handle pViewHandle) //vp_play_normal_view_get_subtitle(pPlayView->pNormalView, &(pPlayView->szSubtitleURL)); VideoLogInfo("vp_play_normal_view_unrealize START"); + if(!pPlayView->bIsSharePopup) { if (!vp_play_normal_view_unrealize(pPlayView->pNormalView)) { VideoLogError("vp_play_normal_view_unrealize fail"); } + } } VideoLogWarning("<< ----------");