phoneapp/phoneuicontrol/src/cphonebtaadisconnecthandler.cpp
branchRCL_3
changeset 4 24062c24fe38
parent 0 5f000ab63145
child 24 41a7f70b3818
equal deleted inserted replaced
3:8871b09be73b 4:24062c24fe38
    95 //
    95 //
    96 void CPhoneBtaaDisconnectHandler::Cancel()
    96 void CPhoneBtaaDisconnectHandler::Cancel()
    97     {
    97     {
    98     __LOGMETHODSTARTEND(EPhoneControl, "CPhoneBtaaDisconnectHandler::Cancel()");
    98     __LOGMETHODSTARTEND(EPhoneControl, "CPhoneBtaaDisconnectHandler::Cancel()");
    99     TRAP_IGNORE( iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveQuery ) );
    99     TRAP_IGNORE( iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveQuery ) );
   100     DeleteAll();
   100     if ( !iOldMuted && iStateMachine->PhoneEngineInfo()->AudioMute() &&
   101     if ( !iOldMuted && iStateMachine->PhoneEngineInfo()->AudioMute() )
   101     	ELaunchQuery == iState )
   102         {
   102         {
   103         TRAP_IGNORE ( SetMuteL( EFalse ) );
   103         TRAP_IGNORE ( SetMuteL( EFalse ) );
   104         }
   104         }
       
   105 	DeleteAll();
   105     iOldMuted = EFalse;
   106     iOldMuted = EFalse;
   106     }
   107     }
   107 
   108 
   108 // -----------------------------------------------------------------------------
   109 // -----------------------------------------------------------------------------
   109 // CPhoneBtaaDisconnectHandler::LaunchQueryL
   110 // CPhoneBtaaDisconnectHandler::LaunchQueryL