mpxplugins/viewplugins/views/commonplaybackview/src/mpxcommonplaybackviewimp.cpp
branchRCL_3
changeset 31 a12246c97fcc
parent 28 56b11cf8addb
child 50 26a1709b9fec
--- a/mpxplugins/viewplugins/views/commonplaybackview/src/mpxcommonplaybackviewimp.cpp	Tue May 25 12:39:12 2010 +0300
+++ b/mpxplugins/viewplugins/views/commonplaybackview/src/mpxcommonplaybackviewimp.cpp	Wed Jun 09 09:38:28 2010 +0300
@@ -1740,7 +1740,8 @@
    if ( EPbRepeatAll == iRepeatMode )
        {
        if ( aCurrentIndex == aCount-1 &&
-                1 == iLastSkipDirection )
+                1 == iLastSkipDirection &&
+                1 != iRandomMode )
            {
            skip = EFalse;
            displayError = ETrue;
@@ -2735,7 +2736,10 @@
         iContainer->RestoreButtons( iPlaybackState );
         iPlaybackUtility->CommandL( EPbCmdStopSeeking );
         }
-
+    
+    if ( aForeground && ( iViewUtility->ActiveViewType() == TUid::Uid( KMPXPluginTypePlaybackUid )) )
+        TRAP_IGNORE(UpdateTitlePaneL()); 
+    
     MPX_DEBUG1( "<---CMPXCommonPlaybackViewImp::HandleForegroundEventL()" );
     }