photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxcameraalbumfullscreenviewplugin.cpp
branchRCL_3
changeset 32 78ad99c24f08
parent 0 4e91876724a2
--- a/photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxcameraalbumfullscreenviewplugin.cpp	Tue May 11 16:13:40 2010 +0300
+++ b/photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxcameraalbumfullscreenviewplugin.cpp	Tue May 25 12:42:31 2010 +0300
@@ -38,6 +38,7 @@
 #include <mpxcollectionutility.h>
 #include <mpxmediageneraldefs.h>
 #include "glxfullscreenview.h"
+#include <glxcommandhandlervideoplayback.h>
 
 _LIT(KGlxFullScreenResource,"glxfullscreenviewdata.rsc");
 
@@ -92,6 +93,12 @@
     
 void CGlxCameraAlbumFullScreenViewPlugin::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;