phoneapp/phoneuistates/src/cphonestatemachinegsm.cpp
changeset 77 2be0b271d017
parent 37 ba76fc04e6c2
--- a/phoneapp/phoneuistates/src/cphonestatemachinegsm.cpp	Fri Sep 17 08:29:19 2010 +0300
+++ b/phoneapp/phoneuistates/src/cphonestatemachinegsm.cpp	Mon Oct 04 00:16:48 2010 +0300
@@ -279,6 +279,10 @@
         {
         __PHONELOGSTATECHANGE( iOldStateId, iNewStateId );
         iOldStateId = iNewStateId;
+        
+        // Needs to be set or any attempts to access eikon env handle
+        // will fail
+        iState->SetEikonEnv( EikonEnv() );
         }
 
     return iState;