photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxdownloadsfullscreenviewplugin.cpp
branchRCL_3
changeset 18 78ad99c24f08
parent 0 4e91876724a2
--- a/photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxdownloadsfullscreenviewplugin.cpp	Tue May 11 16:13:40 2010 +0300
+++ b/photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxdownloadsfullscreenviewplugin.cpp	Tue May 25 12:42:31 2010 +0300
@@ -46,6 +46,7 @@
 
 #include <glxfullscreenviewdata.rsg>
 #include <glxicons.mbg> // icons 
+#include <glxcommandhandlervideoplayback.h>
 
 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc");
 
@@ -110,6 +111,13 @@
 void CGlxDownloadsFullScreenViewPlugin::AddCommandHandlersL()
     {
     GLX_LOG_ENTRY_EXIT_LEAVE_L("CGlxDownloadsFullScreenViewPlugin::AddCommandHandlersL()");
+    
+    //Fix for error ID EVTY-7M87LF
+	//@ Registration of Video Playback Command handler has to before UPnP.
+	//@ else UPnP will not get play command once video playback command is consumed.
+	iFullScreenView->AddCommandHandlerL(
+			CGlxCommandHandlerVideoPlayback::NewL(iFullScreenView));
+	
     CGlxFullScreenViewPluginBase::AddCommandHandlersL();
     
     TGlxHelpContext helpInfo;