equal
deleted
inserted
replaced
175 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetIsProgressNoteVisible, |
175 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetIsProgressNoteVisible, |
176 &isProgressNoteVisible ); |
176 &isProgressNoteVisible ); |
177 |
177 |
178 if ( !isProgressNoteVisible.Boolean() ) |
178 if ( !isProgressNoteVisible.Boolean() ) |
179 { |
179 { |
|
180 ShowNoteL( EPhoneEmergencyConnectWaitNote ); |
180 UpdateSetupCbaL(); |
181 UpdateSetupCbaL(); |
181 } |
182 } |
182 } |
183 } |
183 break; |
184 break; |
184 |
185 |
229 if ( !TopAppIsDisplayedL() || iDeviceLockOn ) |
230 if ( !TopAppIsDisplayedL() || iDeviceLockOn ) |
230 { |
231 { |
231 // Continue displaying current app but set up the |
232 // Continue displaying current app but set up the |
232 // idle screen in the background |
233 // idle screen in the background |
233 SetupIdleScreenInBackgroundL(); |
234 SetupIdleScreenInBackgroundL(); |
234 |
|
235 // Update toolbar |
|
236 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateToolbar ); |
|
237 } |
235 } |
238 |
236 |
239 else if ( iOnScreenDialer && IsNumberEntryContentStored() ) |
237 else if ( iOnScreenDialer && IsNumberEntryContentStored() ) |
240 { |
238 { |
241 if ( !IsNumberEntryUsedL() ) |
239 if ( !IsNumberEntryUsedL() ) |
249 |
247 |
250 else if ( IsNumberEntryUsedL() ) |
248 else if ( IsNumberEntryUsedL() ) |
251 { |
249 { |
252 // Show the number entry if it exists |
250 // Show the number entry if it exists |
253 SetNumberEntryVisibilityL(ETrue); |
251 SetNumberEntryVisibilityL(ETrue); |
254 // Update toolbar |
|
255 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateToolbar ); |
|
256 } |
252 } |
257 |
253 |
258 else |
254 else |
259 { |
255 { |
260 // Display idle screen |
256 // Display idle screen |
377 |
373 |
378 // Enable the volume display |
374 // Enable the volume display |
379 iViewCommandHandle->ExecuteCommandL( EPhoneViewShowNaviPaneAudioVolume ); |
375 iViewCommandHandle->ExecuteCommandL( EPhoneViewShowNaviPaneAudioVolume ); |
380 |
376 |
381 SetTouchPaneButtons( EPhoneEmergencyCallButtons ); |
377 SetTouchPaneButtons( EPhoneEmergencyCallButtons ); |
382 |
|
383 SetToolbarDimming( ETrue ); |
|
384 |
378 |
385 ShowNoteL( EPhoneEmergencyConnectWaitNote ); |
379 ShowNoteL( EPhoneEmergencyConnectWaitNote ); |
386 |
380 |
387 UpdateSetupCbaL(); |
381 UpdateSetupCbaL(); |
388 } |
382 } |
460 aCallId, |
454 aCallId, |
461 &headerParam ); |
455 &headerParam ); |
462 |
456 |
463 EndUiUpdate(); |
457 EndUiUpdate(); |
464 |
458 |
465 SetToolbarButtonLoudspeakerEnabled(); |
459 //Make sure that toolbar is not shown |
|
460 iViewCommandHandle->ExecuteCommandL( EPhoneViewHideToolbar ); |
466 |
461 |
467 UpdateInCallCbaL(); |
462 UpdateInCallCbaL(); |
468 } |
463 } |
469 |
464 |
470 // ----------------------------------------------------------- |
465 // ----------------------------------------------------------- |
484 EPhoneViewUpdateBubble, |
479 EPhoneViewUpdateBubble, |
485 aCallId, |
480 aCallId, |
486 &emergencyHeaderParam ); |
481 &emergencyHeaderParam ); |
487 |
482 |
488 EndUiUpdate(); |
483 EndUiUpdate(); |
489 SetToolbarDimming( ETrue ); |
|
490 UpdateInCallCbaL(); |
484 UpdateInCallCbaL(); |
491 } |
485 } |
492 |
486 |
493 // ----------------------------------------------------------- |
487 // ----------------------------------------------------------- |
494 // CPhoneEmergency::OpenMenuBarL |
488 // CPhoneEmergency::OpenMenuBarL |
683 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetIsProgressNoteVisible, |
677 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetIsProgressNoteVisible, |
684 &isProgressNoteVisible ); |
678 &isProgressNoteVisible ); |
685 |
679 |
686 if ( !isProgressNoteVisible.Boolean() ) |
680 if ( !isProgressNoteVisible.Boolean() ) |
687 { |
681 { |
|
682 ShowNoteL( EPhoneEmergencyConnectWaitNote ); |
688 UpdateSetupCbaL(); |
683 UpdateSetupCbaL(); |
689 } |
684 } |
690 } |
685 } |
691 else |
686 else |
692 { |
687 { |
881 TInt resourceId = EPhoneCallHandlingCallSetupCBA; |
876 TInt resourceId = EPhoneCallHandlingCallSetupCBA; |
882 |
877 |
883 const TPEAudioOutput audioOutput = |
878 const TPEAudioOutput audioOutput = |
884 iStateMachine->PhoneEngineInfo()->AudioOutput(); |
879 iStateMachine->PhoneEngineInfo()->AudioOutput(); |
885 |
880 |
886 if ( iCallSetup && audioOutput != EPENotActive) |
881 if ( !( TouchCallHandlingSupported() ) |
|
882 && iCallSetup && audioOutput != EPENotActive ) |
887 { |
883 { |
888 if ( audioOutput == EPELoudspeaker ) |
884 if ( audioOutput == EPELoudspeaker ) |
889 { |
885 { |
890 resourceId = EPhoneCallHandlingCallSetupToHandsetCBA; |
886 resourceId = EPhoneCallHandlingCallSetupToHandsetCBA; |
891 } |
887 } |
984 // -------------------------------------------------------------- |
980 // -------------------------------------------------------------- |
985 // CPhoneEmergency::UseHandsetEmergencyCBA |
981 // CPhoneEmergency::UseHandsetEmergencyCBA |
986 // -------------------------------------------------------------- |
982 // -------------------------------------------------------------- |
987 // |
983 // |
988 TBool CPhoneEmergency::UseHandsetEmergencyCBA( const TPEAudioOutput& aAudioOutput ) const |
984 TBool CPhoneEmergency::UseHandsetEmergencyCBA( const TPEAudioOutput& aAudioOutput ) const |
989 { |
985 { |
990 if ( !( TouchCallHandlingSupported() ) |
986 if ( !( TouchCallHandlingSupported() ) |
991 && ( ( aAudioOutput == EPELoudspeaker ) || ( aAudioOutput == EPEBTAudioAccessory ) ) ) |
987 && ( ( aAudioOutput == EPELoudspeaker ) || ( aAudioOutput == EPEBTAudioAccessory ) ) ) |
992 { |
988 { |
993 return ETrue; |
989 return ETrue; |
994 } |
990 } |
995 else |
991 else |
996 { |
992 { |
997 return EFalse; |
993 return EFalse; |
998 } |
994 } |
999 } |
995 } |
|
996 |
|
997 // -------------------------------------------------------------- |
|
998 // CPhoneEmergency::HandlePhoneStartupL |
|
999 // -------------------------------------------------------------- |
|
1000 // |
|
1001 void CPhoneEmergency::HandlePhoneStartupL() |
|
1002 { |
|
1003 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneEmergency::HandlePhoneStartupL( ) "); |
|
1004 iStartupInterrupted = EFalse; |
|
1005 } |
1000 |
1006 |
1001 // End of File |
1007 // End of File |