equal
deleted
inserted
replaced
215 // |
215 // |
216 void CPhoneTwoSinglesAndWaiting::HandleIdleL( TInt aCallId ) |
216 void CPhoneTwoSinglesAndWaiting::HandleIdleL( TInt aCallId ) |
217 { |
217 { |
218 __LOGMETHODSTARTEND( EPhoneUIStates, |
218 __LOGMETHODSTARTEND( EPhoneUIStates, |
219 "CPhoneTwoSinglesAndWaiting::HandleIdleL()"); |
219 "CPhoneTwoSinglesAndWaiting::HandleIdleL()"); |
220 |
220 BeginUiUpdateLC(); |
221 BeginUiUpdateLC(); |
|
222 |
|
223 if ( !IsNumberEntryUsedL() ) |
221 if ( !IsNumberEntryUsedL() ) |
224 { |
222 { |
225 // Close menu bar, if number entry isnt open. |
223 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
226 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
224 } |
227 } |
|
228 |
|
229 // Remove call |
|
230 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); |
225 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); |
231 |
226 |
232 if ( iRingingCallId == aCallId ) |
227 if ( iRingingCallId == aCallId ) |
233 { |
228 { |
234 StateTransitionToTwoSinglesL(); |
229 StateTransitionToTwoSinglesL(); |
235 } |
230 } |
236 else |
231 else |
237 { |
232 { |
238 StateTransitionToSingleAndWaitingL(); |
233 StateTransitionToSingleAndWaitingL(); |
239 } |
234 } |
240 |
|
241 EndUiUpdate(); |
235 EndUiUpdate(); |
242 } |
236 } |
243 |
237 |
244 // ----------------------------------------------------------- |
238 // ----------------------------------------------------------- |
245 // CPhoneTwoSinglesAndWaiting::StateTransitionToTwoSinglesL |
239 // CPhoneTwoSinglesAndWaiting::StateTransitionToTwoSinglesL |
347 SetTouchPaneButtons( EPhoneWaitingCallButtons ); |
341 SetTouchPaneButtons( EPhoneWaitingCallButtons ); |
348 |
342 |
349 iViewCommandHandle->ExecuteCommandL( EPhoneViewCreateConference, aCallId, |
343 iViewCommandHandle->ExecuteCommandL( EPhoneViewCreateConference, aCallId, |
350 &callHeaderParam ); |
344 &callHeaderParam ); |
351 |
345 |
352 // Clear the flag |
346 SetNeedToReturnToForegroundAppStatusL( EFalse ); |
353 TPhoneCmdParamBoolean booleanParam; |
|
354 booleanParam.SetBoolean( EFalse ); |
|
355 iViewCommandHandle->ExecuteCommandL( |
|
356 EPhoneViewSetNeedToReturnToForegroundAppStatus, |
|
357 &booleanParam ); |
|
358 |
347 |
359 EndUiUpdate(); |
348 EndUiUpdate(); |
360 // Go to Conference And Waiting state |
349 // Go to Conference And Waiting state |
361 // No need for CBA update |
350 // No need for CBA update |
362 iStateMachine->ChangeState( EPhoneStateConferenceAndWaiting ); |
351 iStateMachine->ChangeState( EPhoneStateConferenceAndWaiting ); |