mpxplugins/viewplugins/views/commonplaybackview/src/mpxcommonplaybackviewimp.cpp
branchRCL_3
changeset 31 a12246c97fcc
parent 28 56b11cf8addb
child 50 26a1709b9fec
equal deleted inserted replaced
28:56b11cf8addb 31:a12246c97fcc
  1738             }
  1738             }
  1739         }
  1739         }
  1740    if ( EPbRepeatAll == iRepeatMode )
  1740    if ( EPbRepeatAll == iRepeatMode )
  1741        {
  1741        {
  1742        if ( aCurrentIndex == aCount-1 &&
  1742        if ( aCurrentIndex == aCount-1 &&
  1743                 1 == iLastSkipDirection )
  1743                 1 == iLastSkipDirection &&
       
  1744                 1 != iRandomMode )
  1744            {
  1745            {
  1745            skip = EFalse;
  1746            skip = EFalse;
  1746            displayError = ETrue;
  1747            displayError = ETrue;
  1747            }
  1748            }
  1748         }
  1749         }
  2733         {
  2734         {
  2734         iIsffButtonPressed = EFalse;
  2735         iIsffButtonPressed = EFalse;
  2735         iContainer->RestoreButtons( iPlaybackState );
  2736         iContainer->RestoreButtons( iPlaybackState );
  2736         iPlaybackUtility->CommandL( EPbCmdStopSeeking );
  2737         iPlaybackUtility->CommandL( EPbCmdStopSeeking );
  2737         }
  2738         }
  2738 
  2739     
       
  2740     if ( aForeground && ( iViewUtility->ActiveViewType() == TUid::Uid( KMPXPluginTypePlaybackUid )) )
       
  2741         TRAP_IGNORE(UpdateTitlePaneL()); 
       
  2742     
  2739     MPX_DEBUG1( "<---CMPXCommonPlaybackViewImp::HandleForegroundEventL()" );
  2743     MPX_DEBUG1( "<---CMPXCommonPlaybackViewImp::HandleForegroundEventL()" );
  2740     }
  2744     }
  2741 
  2745 
  2742 // ---------------------------------------------------------------------------
  2746 // ---------------------------------------------------------------------------
  2743 // From MEikMenuObserver
  2747 // From MEikMenuObserver