webservices/wsoviplugin/src/wsoviplugin.cpp
branchRCL_3
changeset 20 f68f07157250
parent 15 32ab7ae9ec94
child 22 c5fabff9b552
--- a/webservices/wsoviplugin/src/wsoviplugin.cpp	Mon Jun 21 16:54:52 2010 +0300
+++ b/webservices/wsoviplugin/src/wsoviplugin.cpp	Thu Jul 15 19:53:58 2010 +0300
@@ -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());