--- a/fmradio/fmradiomcpplugin/src/fmradiomcpplugin.cpp Wed Apr 14 15:57:41 2010 +0300
+++ b/fmradio/fmradiomcpplugin/src/fmradiomcpplugin.cpp Tue Apr 27 16:38:14 2010 +0300
@@ -698,7 +698,8 @@
switch( aMuteState )
{
case EFMRadioPSMuteStateOn:
- if ( iEngine->ApplicationRunningState() != EFMRadioPSApplicationRunning )
+ if ( iEngine->ApplicationRunningState() != EFMRadioPSApplicationRunning ||
+ iEngine->AntennaStatus() == EFMRadioPSHeadsetDisconnected )
{
UpdatePublishedToolBarL( KFMRadioUnmuteDimmed );
}
@@ -709,7 +710,8 @@
break;
case EFMRadioPSMuteStateOff:
case EFMRadioPSMuteStateUninitialized:
- if ( iEngine->ApplicationRunningState() != EFMRadioPSApplicationRunning )
+ if ( iEngine->ApplicationRunningState() != EFMRadioPSApplicationRunning ||
+ iEngine->AntennaStatus() == EFMRadioPSHeadsetDisconnected )
{
UpdatePublishedToolBarL( KFMRadioMuteDimmed );
}