equal
deleted
inserted
replaced
353 // Indicate that the Phone needs to be sent to the background if |
353 // Indicate that the Phone needs to be sent to the background if |
354 // an application other than the top application is in the foreground |
354 // an application other than the top application is in the foreground |
355 TPhoneCmdParamBoolean booleanParam; |
355 TPhoneCmdParamBoolean booleanParam; |
356 booleanParam.SetBoolean( !TopAppIsDisplayedL() ); |
356 booleanParam.SetBoolean( !TopAppIsDisplayedL() ); |
357 iViewCommandHandle->ExecuteCommandL( |
357 iViewCommandHandle->ExecuteCommandL( |
358 EPhoneViewSetNeedToSendToBackgroundStatus, |
358 EPhoneViewSetNeedToReturnToForegroundAppStatus, |
359 &booleanParam ); |
359 &booleanParam ); |
360 |
360 |
361 // Bring Phone app in the foreground |
361 // Bring Phone app in the foreground |
362 TPhoneCmdParamInteger uidParam; |
362 TPhoneCmdParamInteger uidParam; |
363 uidParam.SetInteger( KUidPhoneApplication.iUid ); |
363 uidParam.SetInteger( KUidPhoneApplication.iUid ); |
417 else if ( !iDeviceLockOn && SimState() == EPESimUsable ) |
417 else if ( !iDeviceLockOn && SimState() == EPESimUsable ) |
418 { |
418 { |
419 // Stop capturing keys |
419 // Stop capturing keys |
420 CaptureKeysDuringCallNotificationL( EFalse ); |
420 CaptureKeysDuringCallNotificationL( EFalse ); |
421 } |
421 } |
422 |
|
423 // Keep Phone in the foreground |
|
424 TPhoneCmdParamBoolean booleanParam; |
|
425 booleanParam.SetBoolean( EFalse ); |
|
426 iViewCommandHandle->ExecuteCommandL( |
|
427 EPhoneViewSetNeedToSendToBackgroundStatus, &booleanParam ); |
|
428 |
422 |
429 // Remove emergency connecting note |
423 // Remove emergency connecting note |
430 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNote ); |
424 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNote ); |
431 |
425 |
432 TPhoneCmdParamEmergencyCallHeaderData emergencyHeaderParam; |
426 TPhoneCmdParamEmergencyCallHeaderData emergencyHeaderParam; |