photosgallery/slideshow/view/src/shwslideshowview.cpp
branchRCL_3
changeset 17 a60acebbbd9d
parent 15 191387a8b767
child 18 78ad99c24f08
--- a/photosgallery/slideshow/view/src/shwslideshowview.cpp	Tue Apr 27 16:37:53 2010 +0300
+++ b/photosgallery/slideshow/view/src/shwslideshowview.cpp	Tue May 11 16:13:40 2010 +0300
@@ -390,6 +390,10 @@
 	iIsForegrnd = aForeground;
     if( aForeground )
         {
+        if (iHdmiController && iHdmiActive)
+            {
+            iHdmiController->ShiftToPostingMode();
+            }
         // we gained the foreground
         if(iMMCState && iPrevNotInBackground)
             {
@@ -398,10 +402,15 @@
         else
             {
             iPauseHandler->SwitchToForegroundL();
+            iEngine->GetMusicVolumeL();
             }
         }
     else
         {
+        if (iHdmiController && iHdmiActive)
+            {
+            iHdmiController->ShiftToCloningMode();
+            }
         // Something else has gained the foreground
         iPauseHandler->SwitchToBackgroundL();
         }
@@ -790,6 +799,7 @@
 	{
 	TRACER("CShwSlideshowView::EngineResumedL");
   	GLX_LOG_INFO( "CShwSlideshowView::EngineResumedL" );
+	iEngine->GetMusicVolumeL();
     // Re-enable the backlight if it's off
     if ( !iBackLightTimer->IsRunning() )
         {