mpxmusicplayer/app/src/mpxappui.cpp
branchRCL_3
changeset 11 13afc0e517bd
parent 5 2a40e88564c8
child 14 943ff5625028
equal deleted inserted replaced
5:2a40e88564c8 11:13afc0e517bd
   208 
   208 
   209 // Cover UI start
   209 // Cover UI start
   210 //#ifdef __COVER_DISPLAY
   210 //#ifdef __COVER_DISPLAY
   211 // initialize FeatureManager
   211 // initialize FeatureManager
   212     FeatureManager::InitializeLibL();
   212     FeatureManager::InitializeLibL();
   213 
       
   214     // Check updates from IAD, continue UI launching even if something fails there
       
   215     TRAP_IGNORE( CheckUpdatesL() );
       
   216 
   213 
   217     if ( FeatureManager::FeatureSupported( KFeatureIdCoverDisplay ) )
   214     if ( FeatureManager::FeatureSupported( KFeatureIdCoverDisplay ) )
   218         {
   215         {
   219         iCoverDisplay = ETrue;
   216         iCoverDisplay = ETrue;
   220         iCommandInitiator = CMediatorCommandInitiator::NewL( NULL );
   217         iCommandInitiator = CMediatorCommandInitiator::NewL( NULL );
  3334     {
  3331     {
  3335     MPX_FUNC( "CMPXAppUi::HandleCommandL" );
  3332     MPX_FUNC( "CMPXAppUi::HandleCommandL" );
  3336     TMPXPlaybackCommand cmd = EPbCmdEnd;
  3333     TMPXPlaybackCommand cmd = EPbCmdEnd;
  3337     switch ( aCommand )
  3334     switch ( aCommand )
  3338         {
  3335         {
       
  3336 	    case EMPXCmdCheckIADUpdates:
       
  3337 	        {
       
  3338 	        TRAP_IGNORE( CheckUpdatesL() );
       
  3339 	        break;
       
  3340 	        }
  3339         case EMPXCmdPlay:
  3341         case EMPXCmdPlay:
  3340         case EMPXCmdPause:
  3342         case EMPXCmdPause:
  3341         case EMPXCmdPlayPause:
  3343         case EMPXCmdPlayPause:
  3342         case EMPXCmdStop:
  3344         case EMPXCmdStop:
  3343         case EMPXCmdNext:
  3345         case EMPXCmdNext: