--- a/fmradio/fmradio/inc/fmradiodefines.h Wed Sep 01 12:30:32 2010 +0100
+++ b/fmradio/fmradio/inc/fmradiodefines.h Wed Sep 15 12:13:25 2010 +0300
@@ -118,7 +118,7 @@
const TInt KFMRadioRdsViewer = 316;
const TInt KFMRadioRdsInteractionIndicatorId = 317;
const TInt KFMRadioLogoId = 318;
-const TReal KFMRadioIndicatorOpacityInHiddenState = 0.2f;
+const TReal KFMRadioIndicatorOpacityInHiddenState = 0.4f;
const TReal KFMRadioRdsViewerOpacityHidden = 0.0f;
const TReal KFMRadioRdsViewerOpacityShow = 0.4f;
--- a/fmradio/fmradio/src/fmradioappui.cpp Wed Sep 01 12:30:32 2010 +0100
+++ b/fmradio/fmradio/src/fmradioappui.cpp Wed Sep 15 12:13:25 2010 +0300
@@ -2581,7 +2581,8 @@
}
else
{
- TFMRadioRegionSetting region = iRadioEngine->GetRegionL();
+ TFMRadioRegionSetting region = iRadioEngine->GetRegionL();
+ TBool mute = EFalse;
if ( iOfflineQueryDialogActivated ||
iConnectHeadsetQuery ||
@@ -2592,11 +2593,22 @@
else
{
iChannelListView->CancelMoveL();
+ if ( iCurrentRadioState == EFMRadioStateBusyScanLocalStations )
+ {
+ mute = ETrue;
+ }
ActivateLocalViewL( view->Id() );
}
TApaTask task( iCoeEnv->WsSession() );
task.SetWgId( iCoeEnv->RootWin().Identifier() );
task.BringToForeground();
+ if ( mute )
+ {
+ // unmute if the scanning was ongoing
+ iRadioEngine->SetMuteOn( EFalse );
+ // just to make sure the mute status is up to date
+ HandleVolumeChangedCallback();
+ }
}
}
}