equal
deleted
inserted
replaced
388 TRACER("CShwSlideshowView::HandleForegroundEventL"); |
388 TRACER("CShwSlideshowView::HandleForegroundEventL"); |
389 GLX_LOG_INFO( "CShwSlideshowView::HandleForegroundEventL()" ); |
389 GLX_LOG_INFO( "CShwSlideshowView::HandleForegroundEventL()" ); |
390 iIsForegrnd = aForeground; |
390 iIsForegrnd = aForeground; |
391 if( aForeground ) |
391 if( aForeground ) |
392 { |
392 { |
|
393 if (iHdmiController && iHdmiActive) |
|
394 { |
|
395 iHdmiController->ShiftToPostingMode(); |
|
396 } |
393 // we gained the foreground |
397 // we gained the foreground |
394 if(iMMCState && iPrevNotInBackground) |
398 if(iMMCState && iPrevNotInBackground) |
395 { |
399 { |
396 ProcessCommandL(EAknSoftkeyClose); |
400 ProcessCommandL(EAknSoftkeyClose); |
397 } |
401 } |
398 else |
402 else |
399 { |
403 { |
400 iPauseHandler->SwitchToForegroundL(); |
404 iPauseHandler->SwitchToForegroundL(); |
|
405 iEngine->GetMusicVolumeL(); |
401 } |
406 } |
402 } |
407 } |
403 else |
408 else |
404 { |
409 { |
|
410 if (iHdmiController && iHdmiActive) |
|
411 { |
|
412 iHdmiController->ShiftToCloningMode(); |
|
413 } |
405 // Something else has gained the foreground |
414 // Something else has gained the foreground |
406 iPauseHandler->SwitchToBackgroundL(); |
415 iPauseHandler->SwitchToBackgroundL(); |
407 } |
416 } |
408 |
417 |
409 CAknView::HandleForegroundEventL(aForeground); |
418 CAknView::HandleForegroundEventL(aForeground); |
788 // |
797 // |
789 void CShwSlideshowView::EngineResumedL() |
798 void CShwSlideshowView::EngineResumedL() |
790 { |
799 { |
791 TRACER("CShwSlideshowView::EngineResumedL"); |
800 TRACER("CShwSlideshowView::EngineResumedL"); |
792 GLX_LOG_INFO( "CShwSlideshowView::EngineResumedL" ); |
801 GLX_LOG_INFO( "CShwSlideshowView::EngineResumedL" ); |
|
802 iEngine->GetMusicVolumeL(); |
793 // Re-enable the backlight if it's off |
803 // Re-enable the backlight if it's off |
794 if ( !iBackLightTimer->IsRunning() ) |
804 if ( !iBackLightTimer->IsRunning() ) |
795 { |
805 { |
796 iBackLightTimer->StartL(); |
806 iBackLightTimer->StartL(); |
797 } |
807 } |