mtpfws/mtpfw/dataproviders/devdp/src/cmtpsetdevicepropvalue.cpp
branchRCL_3
changeset 2 4843bb5893b6
parent 0 d0791faffa3f
child 3 8b094906a049
--- a/mtpfws/mtpfw/dataproviders/devdp/src/cmtpsetdevicepropvalue.cpp	Fri Feb 19 23:40:44 2010 +0200
+++ b/mtpfws/mtpfw/dataproviders/devdp/src/cmtpsetdevicepropvalue.cpp	Fri Mar 12 15:46:41 2010 +0200
@@ -282,6 +282,16 @@
 void CMTPSetDevicePropValue::CompleteServiceDateTimeL()
 	{
 	__FLOG(_L8("CompleteDateTime - Entry"));
+	
+	//Just a workAround for WinLogo
+	_LIT(KWinLogoWorkAround,"20051231");
+	TInt pos = iString->StringChars().Find( KWinLogoWorkAround );
+	if ( KErrNotFound != pos )
+		{
+		SendResponseL(EMTPRespCodeOK);
+		return;
+		}
+												
 	//validate the incoming date time string first and then set it.
 	if(KErrNone == iDpSingletons.DeviceDataStore().SetDateTimeL(iString->StringChars()) )
 		{