equal
deleted
inserted
replaced
236 "CPhoneTwoSinglesAndWaiting::HandleIdleL()"); |
236 "CPhoneTwoSinglesAndWaiting::HandleIdleL()"); |
237 |
237 |
238 // Effect is shown when dialer exist. |
238 // Effect is shown when dialer exist. |
239 |
239 |
240 TBool effectStarted ( EFalse ); |
240 TBool effectStarted ( EFalse ); |
241 if ( !NeedToSendToBackgroundL()) |
241 if ( !NeedToReturnToForegroundAppL() ) |
242 { |
242 { |
243 BeginTransEffectLC( ENumberEntryOpen ); |
243 BeginTransEffectLC( ENumberEntryOpen ); |
244 effectStarted = ETrue; |
244 effectStarted = ETrue; |
245 } |
245 } |
246 |
246 |
280 __LOGMETHODSTARTEND( EPhoneUIStates, |
280 __LOGMETHODSTARTEND( EPhoneUIStates, |
281 "CPhoneTwoSinglesAndWaiting::StateTransitionToTwoSinglesL()"); |
281 "CPhoneTwoSinglesAndWaiting::StateTransitionToTwoSinglesL()"); |
282 if ( IsNumberEntryUsedL() ) |
282 if ( IsNumberEntryUsedL() ) |
283 { |
283 { |
284 // Go to background if necessary |
284 // Go to background if necessary |
285 if ( NeedToSendToBackgroundL() ) |
285 if ( NeedToReturnToForegroundAppL() ) |
286 { |
286 { |
287 // Return phone to the background if send to background is needed. |
287 // Return phone to the background if menu application is needed to foreground. |
288 iViewCommandHandle->ExecuteCommandL( EPhoneViewSendToBackground ); |
288 iViewCommandHandle->ExecuteCommandL( EPhoneViewSendToBackground ); |
289 |
289 |
290 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetControlAndVisibility ); |
290 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetControlAndVisibility ); |
291 |
291 |
292 UpdateCbaL( EPhoneCallHandlingInCallCBA ); |
292 UpdateCbaL( EPhoneCallHandlingInCallCBA ); |
300 else |
300 else |
301 { |
301 { |
302 // Set Two singles softkeys |
302 // Set Two singles softkeys |
303 UpdateCbaL( EPhoneCallHandlingNewCallSwapCBA ); |
303 UpdateCbaL( EPhoneCallHandlingNewCallSwapCBA ); |
304 |
304 |
305 // If numberentry is not open just check NeedToSendToBackgroundL and |
305 // If numberentry is not open just check NeedToReturnToForegroundAppL and |
306 // sendbackround if needed. |
306 // sendbackround if needed. |
307 if ( NeedToSendToBackgroundL() ) |
307 if ( NeedToReturnToForegroundAppL() ) |
308 { |
308 { |
309 // Return phone to the background if send to background is needed. |
309 // Return phone to the background if send to background is needed. |
310 iViewCommandHandle->ExecuteCommandL( EPhoneViewSendToBackground ); |
310 iViewCommandHandle->ExecuteCommandL( EPhoneViewSendToBackground ); |
311 } |
311 } |
312 } |
312 } |
396 |
396 |
397 // Clear the flag |
397 // Clear the flag |
398 TPhoneCmdParamBoolean booleanParam; |
398 TPhoneCmdParamBoolean booleanParam; |
399 booleanParam.SetBoolean( EFalse ); |
399 booleanParam.SetBoolean( EFalse ); |
400 iViewCommandHandle->ExecuteCommandL( |
400 iViewCommandHandle->ExecuteCommandL( |
401 EPhoneViewSetNeedToSendToBackgroundStatus, &booleanParam ); |
401 EPhoneViewSetNeedToReturnToForegroundAppStatus, |
|
402 &booleanParam ); |
402 |
403 |
403 EndUiUpdate(); |
404 EndUiUpdate(); |
404 // Go to Conference And Waiting state |
405 // Go to Conference And Waiting state |
405 // No need for CBA update |
406 // No need for CBA update |
406 iStateMachine->ChangeState( EPhoneStateConferenceAndWaiting ); |
407 iStateMachine->ChangeState( EPhoneStateConferenceAndWaiting ); |