--- a/mmsharing/livecommsui/lcui/tsrc/ipvtengine/src/musengmcesession.cpp Wed Aug 18 09:46:00 2010 +0300
+++ b/mmsharing/livecommsui/lcui/tsrc/ipvtengine/src/musengmcesession.cpp Thu Sep 02 20:23:40 2010 +0300
@@ -35,6 +35,7 @@
#include <cntdef.h>
#include <cntfldst.h>
+
#include "svptimer.h"
RDrawableWindow* testWindow = 0;
@@ -63,6 +64,9 @@
iTimer = CSVPTimer::NewL( *this, 1 );
iCameraHandler.SetSession( this );
+ // indicator control
+ iIndicatorCtr = new ( ELeave ) LcVtIndicatorController();
+
MUS_LOG( "mus: [ENGINE] <- CMusEngMceSession::ConstructL()" )
}
@@ -78,6 +82,12 @@
delete iRemoteVideoPlayer;
delete iLiveVideoPlayer;
delete iScreen;
+
+ if (iIndicatorCtr)
+ {
+ iIndicatorCtr->disableActiveCallIndicator();
+ delete iIndicatorCtr;
+ }
MUS_LOG( "mus: [ENGINE] <- CMusEngMceSession::~CMusEngMceSession()" )
}
@@ -618,6 +628,14 @@
if ( iScreen ){
iScreen->Update(aIsForeground);
}
+
+ if ( aIsForeground )
+ {
+ iIndicatorCtr->disableActiveCallIndicator();
+ }
+ else {
+ iIndicatorCtr->enableActiveCallIndicator();
+ }
return KErrNone;
}