phoneapp/phoneuistates/src/cphoneemergency.cpp
branchRCL_3
changeset 34 b68fcd923911
parent 31 ba54057fe027
child 39 b8d67d6176f5
equal deleted inserted replaced
31:ba54057fe027 34:b68fcd923911
   216         }
   216         }
   217 
   217 
   218     if ( aCallId == KEmergencyCallId )
   218     if ( aCallId == KEmergencyCallId )
   219         {
   219         {
   220         iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
   220         iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
       
   221         // Make sure that toolbar is not shown any more
       
   222         iViewCommandHandle->ExecuteCommandL( EPhoneViewHideToolbar );
   221         // Remove emergency connecting note if still there
   223         // Remove emergency connecting note if still there
   222         iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNote );
   224         iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNote );
   223         // Close menu bar, if it is displayed
   225         // Close menu bar, if it is displayed
   224         iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   226         iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   225 
   227 
   336             }
   338             }
   337 
   339 
   338         // Close menu bar, if it is displayed
   340         // Close menu bar, if it is displayed
   339         iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   341         iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   340 
   342 
       
   343         // Dim toolbar items
       
   344         SetToolbarDimming( ETrue );
       
   345 
       
   346         // Request that dimmed toolbar is visible.
       
   347         // Do it already here. Otherwice a white/black toolbar area is shortly shown and
       
   348         // a white screen can be a result when touching it.
       
   349         iViewCommandHandle->HandleCommandL( EPhoneViewShowToolbar );
       
   350 
   341         // Disable global notes when the phone is dialling
   351         // Disable global notes when the phone is dialling
   342         TPhoneCmdParamBoolean globalNotifierParam;
   352         TPhoneCmdParamBoolean globalNotifierParam;
   343         globalNotifierParam.SetBoolean( ETrue );
   353         globalNotifierParam.SetBoolean( ETrue );
   344         iViewCommandHandle->ExecuteCommandL(
   354         iViewCommandHandle->ExecuteCommandL(
   345             EPhoneViewSetGlobalNotifiersDisabled,
   355             EPhoneViewSetGlobalNotifiersDisabled,
   378 
   388 
   379         // Enable the volume display
   389         // Enable the volume display
   380         iViewCommandHandle->ExecuteCommandL( EPhoneViewShowNaviPaneAudioVolume );
   390         iViewCommandHandle->ExecuteCommandL( EPhoneViewShowNaviPaneAudioVolume );
   381 
   391 
   382         SetTouchPaneButtons( EPhoneEmergencyCallButtons );
   392         SetTouchPaneButtons( EPhoneEmergencyCallButtons );
   383 
       
   384         SetToolbarDimming( ETrue );
       
   385 
   393 
   386         ShowNoteL( EPhoneEmergencyConnectWaitNote );
   394         ShowNoteL( EPhoneEmergencyConnectWaitNote );
   387 
   395 
   388         UpdateSetupCbaL();
   396         UpdateSetupCbaL();
   389         }
   397         }