diff -r 71306c87785a -r 0da2e08216b6 mmsharing/mmshui/src/musuilivesharingcontroller.cpp --- a/mmsharing/mmshui/src/musuilivesharingcontroller.cpp Tue Apr 27 16:34:06 2010 +0300 +++ b/mmsharing/mmshui/src/musuilivesharingcontroller.cpp Tue May 11 16:10:30 2010 +0300 @@ -158,7 +158,6 @@ PauseL(); EnableDisplayL(false); EnableDisplayL(true); - User::After( interval ); PlayL(); } else @@ -929,7 +928,38 @@ } +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +void CMusUiLiveSharingController::AsyncRefreshView() + { + TRAP_IGNORE( iCallbackService->AsyncEventL( EMusUiAsyncRefreshView ) ); + } +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +void CMusUiLiveSharingController::HandleAsyncEventL( TMusUiAsyncEvent aEventId ) + { + MUS_LOG( "mus: [MUSUI ] -> CMusUiLiveSharingController::HandleAsyncEventL" ); + switch ( aEventId ) + { + case EMusUiAsyncRefreshView: + { + iLiveObserver.DoRefreshView(); + break; + } + default: + { + // Not live sharing specific, let the base class handle + CMusUiSendController::HandleAsyncEventL( aEventId ); + } + } + MUS_LOG( "mus: [MUSUI ] <- CMusUiLiveSharingController::HandleAsyncEventL" ); + + } // End of file