equal
deleted
inserted
replaced
249 // |
249 // |
250 void CPhoneGsmInCall::BringIncomingToForegroundL() |
250 void CPhoneGsmInCall::BringIncomingToForegroundL() |
251 { |
251 { |
252 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneGsmInCall::BringIncomingToForegroundL( ) "); |
252 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneGsmInCall::BringIncomingToForegroundL( ) "); |
253 |
253 |
254 // Close menu bar, if it is displayed |
|
255 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
|
256 |
|
257 // Remove any phone dialogs if they are displayed |
254 // Remove any phone dialogs if they are displayed |
258 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemovePhoneDialogs ); |
255 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemovePhoneDialogs ); |
259 |
256 |
260 // Capture keys when there is an incoming call |
257 // Capture keys when there is an incoming call |
261 CaptureKeysDuringCallNotificationL( ETrue ); |
258 CaptureKeysDuringCallNotificationL( ETrue ); |
287 void CPhoneGsmInCall::AllowShowingOfWaitingCallHeaderL( |
284 void CPhoneGsmInCall::AllowShowingOfWaitingCallHeaderL( |
288 TPhoneCmdParamBoolean& aCommandParam ) |
285 TPhoneCmdParamBoolean& aCommandParam ) |
289 { |
286 { |
290 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneGsmInCall::AllowShowingOfWaitingCallHeaderL() "); |
287 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneGsmInCall::AllowShowingOfWaitingCallHeaderL() "); |
291 |
288 |
292 iViewCommandHandle->ExecuteCommandL( |
289 if ( aCommandParam.Boolean() && IsNumberEntryUsedL() ) |
293 EPhoneViewAllowWaitingCallHeader, |
|
294 &aCommandParam ); |
|
295 |
|
296 // Non-touch :Hide number entry if it exists on |
|
297 // Touch : an internal operation ongoing |
|
298 // -> do not hide dialer |
|
299 if ( !iOnScreenDialer ) |
|
300 { |
|
301 SetNumberEntryVisibilityL(EFalse); |
|
302 } |
|
303 // If param is true and number entry is open only then |
|
304 // hide number entry. |
|
305 else if ( aCommandParam.Boolean() && IsNumberEntryUsedL() ) |
|
306 { |
290 { |
307 SetNumberEntryVisibilityL(EFalse); |
291 SetNumberEntryVisibilityL(EFalse); |
308 } |
292 } |
309 } |
293 } |
310 |
294 |
313 // ----------------------------------------------------------- |
297 // ----------------------------------------------------------- |
314 // |
298 // |
315 EXPORT_C void CPhoneGsmInCall::HandlePhoneForegroundEventL() |
299 EXPORT_C void CPhoneGsmInCall::HandlePhoneForegroundEventL() |
316 { |
300 { |
317 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneGsmInCall::HandlePhoneForegroundEventL( ) "); |
301 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneGsmInCall::HandlePhoneForegroundEventL( ) "); |
318 if ( iOnScreenDialer && IsNumberEntryUsedL() ) |
|
319 { |
|
320 // If numberentry is used then we need to call EPhoneViewSetDialerControlVisible |
|
321 // to ensure that numberentry/dialler is drawn to UI. |
|
322 TPhoneViewResponseId respond = |
|
323 iViewCommandHandle->HandleCommandL( EPhoneViewSetDialerControlVisible ); |
|
324 |
|
325 if ( respond && IsNumberEntryVisibleL() ) |
|
326 { |
|
327 // Set Number Entry CBA |
|
328 iCbaManager->SetCbaL( EPhoneNumberAcqCBA ); |
|
329 } |
|
330 } |
|
331 } |
302 } |
332 |
303 |
333 // ----------------------------------------------------------- |
304 // ----------------------------------------------------------- |
334 // CPhoneGsmInCall::HandleHoldNoteL |
305 // CPhoneGsmInCall::HandleHoldNoteL |
335 // ----------------------------------------------------------- |
306 // ----------------------------------------------------------- |