--- a/mmsharing/livecommsui/lcui/tsrc/ipvtengine/src/musengsessionmanager.cpp Wed Aug 18 09:46:00 2010 +0300
+++ b/mmsharing/livecommsui/lcui/tsrc/ipvtengine/src/musengsessionmanager.cpp Thu Sep 02 20:23:40 2010 +0300
@@ -23,7 +23,8 @@
#include "mccdatareceiver.h"
#include "musenglogger.h"
#include "mccdatastructures.h"
-
+#include <settingsinternalcrkeys.h>
+#include <centralrepository.h>
// -----------------------------------------------------------------------------
//
@@ -94,10 +95,19 @@
//
TBool CMusEngSessionManager::IsFeatureSupported( TLcFeature aLcFeature )
{
- return ( aLcFeature == ELcSendVideoQuery );
+ TBool ret = EFalse;
+ if ( ELcSendVideoQuery == aLcFeature )
+ {
+ TInt videoSendingSetting;
+ CRepository* repository = CRepository::NewL( KCRUidTelephonySettings );
+ if ( KErrNone == repository->Get(KSettingsVTVideoSending, videoSendingSetting) )
+ {
+ if ( VTSETTING_ALWAYS_ASK_FIRST == videoSendingSetting )
+ ret = ETrue;
+ }
+ delete repository;
+ }
+ return ret;
}
-
-
-
// End of File