phonebookengines/VirtualPhonebook/VPbkSimStore/src/CRemoteStore.cpp
branchRCL_3
changeset 45 34879f5cfc63
parent 26 0d28c1c5b6dd
child 64 c1e8ba0c2b16
--- a/phonebookengines/VirtualPhonebook/VPbkSimStore/src/CRemoteStore.cpp	Wed Jun 09 09:26:27 2010 +0300
+++ b/phonebookengines/VirtualPhonebook/VPbkSimStore/src/CRemoteStore.cpp	Mon Jun 21 15:24:27 2010 +0300
@@ -676,6 +676,12 @@
                 {
                 iAsyncOpenOp->Purge();
                 TInt id = iStoreEvent.iData;
+                
+                if ( IsOpen() && id == MVPbkSimPhoneObserver::ESimCardNotInserted )
+                    {
+                    iCurrentState = iStoreEvent.iEvent;
+                    }
+
                 // If not SIM card or BT SAP is active then store is not available
                 if ( id == MVPbkSimPhoneObserver::ESimCardNotInserted ||
                      id == MVPbkSimPhoneObserver::EBtSapActive )