mpxplugins/viewplugins/views/commonplaybackview/src/mpxcommonplaybackviewimp.cpp
changeset 2 b70d77332e66
parent 1 8118492f1bdf
child 4 beaa16f65879
equal deleted inserted replaced
1:8118492f1bdf 2:b70d77332e66
   351             }
   351             }
   352         }
   352         }
   353 #endif
   353 #endif
   354     iIsffButtonPressed = EFalse;
   354     iIsffButtonPressed = EFalse;
   355     iDelayedErrorTimer = CPeriodic::NewL( CActive::EPriorityStandard );
   355     iDelayedErrorTimer = CPeriodic::NewL( CActive::EPriorityStandard );
       
   356     iFmTxActivity = EFmTxStateUnknown;
   356     }
   357     }
   357 
   358 
   358 
   359 
   359 // ---------------------------------------------------------------------------
   360 // ---------------------------------------------------------------------------
   360 // Destructor
   361 // Destructor
   897                         {
   898                         {
   898                         freqKHz = 0;
   899                         freqKHz = 0;
   899                         }
   900                         }
   900                     }
   901                     }
   901                 }
   902                 }
       
   903             iFmTxActivity = value;
   902 
   904 
   903             MPX_DEBUG4( "CMPXCommonPlaybackViewImp::UpdateFMTransmitterInfoL iFMTxFreqKHz %d freqKHz %d aForceUpdate %d", iFMTxFreqKHz, freqKHz, aForceUpdate);
   905             MPX_DEBUG4( "CMPXCommonPlaybackViewImp::UpdateFMTransmitterInfoL iFMTxFreqKHz %d freqKHz %d aForceUpdate %d", iFMTxFreqKHz, freqKHz, aForceUpdate);
   904             if ( iFMTxFreqKHz != freqKHz || aForceUpdate )
   906             if ( iFMTxFreqKHz != freqKHz || aForceUpdate )
   905                 {
   907                 {
   906                 // if the FM Transmitter state has been changed from one active
   908                 // if the FM Transmitter state has been changed from one active
  2412         case EMPXCmdVolumeDown:
  2414         case EMPXCmdVolumeDown:
  2413         case EMPXCmdVolumeMute:
  2415         case EMPXCmdVolumeMute:
  2414         case EMPXCmdVolumeUnMute:
  2416         case EMPXCmdVolumeUnMute:
  2415         case EMPXCmdVolumeChanged:
  2417         case EMPXCmdVolumeChanged:
  2416             {
  2418             {
  2417             AppUi()->HandleCommandL( aCommand );
  2419             //Do not try to update volume if FMTx (transmission) is on.
       
  2420             if (iFmTxActivity != EFmTxStateActive)
       
  2421                 {           
       
  2422                 AppUi()->HandleCommandL( aCommand );
       
  2423                 }
  2418             break;
  2424             break;
  2419             }
  2425             }
  2420         default:
  2426         default:
  2421             {
  2427             {
  2422             if ( iUpnpFrameworkSupport )
  2428             if ( iUpnpFrameworkSupport )
  2506         		ECoeStackPriorityCba,
  2512         		ECoeStackPriorityCba,
  2507                 ECoeStackFlagRefusesFocus
  2513                 ECoeStackFlagRefusesFocus
  2508                 | ECoeStackFlagRefusesAllKeys );
  2514                 | ECoeStackFlagRefusesAllKeys );
  2509         toolbar->MakeVisible( ETrue );
  2515         toolbar->MakeVisible( ETrue );
  2510         toolbar->HideItemsAndDrawOnlyBackground(EFalse);
  2516         toolbar->HideItemsAndDrawOnlyBackground(EFalse);
  2511         toolbar->SetSkinBackgroundId(KAknsIIDQsnBgScreenMp);
       
  2512         toolbar->SetToolbarVisibility(ETrue);
  2517         toolbar->SetToolbarVisibility(ETrue);
  2513         }
  2518         }
  2514     PrepareStatusPaneForPlaybackViewL();
  2519     PrepareStatusPaneForPlaybackViewL();
  2515 
  2520 
  2516     iRandomMode = KErrNotFound;
  2521     iRandomMode = KErrNotFound;