photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxmainfullscreenviewplugin.cpp
branchRCL_3
changeset 32 78ad99c24f08
parent 30 a60acebbbd9d
--- a/photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxmainfullscreenviewplugin.cpp	Tue May 11 16:13:40 2010 +0300
+++ b/photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxmainfullscreenviewplugin.cpp	Tue May 25 12:42:31 2010 +0300
@@ -37,7 +37,7 @@
 #include <glxfullscreenview.h>
 #include <glxlog.h>
 #include <glxtracer.h>
-
+#include <glxcommandhandlervideoplayback.h>
 
 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc");
 
@@ -100,6 +100,12 @@
 //
 void CGlxMainFullScreenViewPlugin::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;