webservices/wsoviplugin/src/wsoviplugin.cpp
branchRCL_3
changeset 37 1adb97a15c2f
parent 36 c5fabff9b552
--- a/webservices/wsoviplugin/src/wsoviplugin.cpp	Tue Aug 31 16:18:26 2010 +0300
+++ b/webservices/wsoviplugin/src/wsoviplugin.cpp	Wed Sep 01 12:28:05 2010 +0100
@@ -336,6 +336,7 @@
         case KSenEventWsfReady:
             {
             TPtrC8 imsi = iManager.IMSI();
+			//On SIM Change below code resets the KSenAccAutoSignIn flag			
             if (iIMSI.Compare(imsi))
             	{
             	const RPointerArray<CSenIdentityProvider> list = iManager.IdentityProvidersL();
@@ -346,6 +347,8 @@
     	            if (el)
     	            	{
     	            	delete (el->RemoveElement(KSenAccAutoSignIn));
+						_LIT8(KWSAccAttrAccountValidator,      "Validator");
+    	            	delete (el->RemoveElement(KWSAccAttrAccountValidator));
     	            	((MSenCredentialManager&)iManager).RemoveCredentialsL(list[i]->ProviderID());
     	            	}
     	            //((MSenCredentialManager&)iManager).RemoveCredentialsL(list[i]->ProviderID());