phoneapp/phoneuistates/src/cphoneemergency.cpp
branchRCL_3
changeset 4 24062c24fe38
parent 3 8871b09be73b
child 6 38529f706030
--- a/phoneapp/phoneuistates/src/cphoneemergency.cpp	Fri Feb 19 22:50:26 2010 +0200
+++ b/phoneapp/phoneuistates/src/cphoneemergency.cpp	Fri Mar 12 15:42:40 2010 +0200
@@ -355,7 +355,7 @@
         TPhoneCmdParamBoolean booleanParam;
         booleanParam.SetBoolean( !TopAppIsDisplayedL() );
         iViewCommandHandle->ExecuteCommandL(
-            EPhoneViewSetNeedToSendToBackgroundStatus,
+                EPhoneViewSetNeedToReturnToForegroundAppStatus,
             &booleanParam );
 
         // Bring Phone app in the foreground
@@ -420,12 +420,6 @@
         CaptureKeysDuringCallNotificationL( EFalse );
         }
 
-    // Keep Phone in the foreground
-    TPhoneCmdParamBoolean booleanParam;
-    booleanParam.SetBoolean( EFalse );
-    iViewCommandHandle->ExecuteCommandL(
-        EPhoneViewSetNeedToSendToBackgroundStatus, &booleanParam );
-
     // Remove emergency connecting note
     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNote );