# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1284542005 -10800 # Node ID 5a31ddd3bfd94020b999eea93e57fd91a7b355a8 # Parent 93c594350b9ae06327c538ce1153cd52b9645758 Revision: 201034 Kit: 201036 diff -r 93c594350b9a -r 5a31ddd3bfd9 fmradio/fmradio/inc/fmradiodefines.h --- 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; diff -r 93c594350b9a -r 5a31ddd3bfd9 fmradio/fmradio/src/fmradioappui.cpp --- 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(); + } } } }