equal
deleted
inserted
replaced
518 |
518 |
519 // ----------------------------------------------------------------------------- |
519 // ----------------------------------------------------------------------------- |
520 // |
520 // |
521 // ----------------------------------------------------------------------------- |
521 // ----------------------------------------------------------------------------- |
522 // |
522 // |
523 void CMusUiEventController::HandleExitL() |
523 void CMusUiEventController::HandleExitL( TBool aTerminateCall ) |
524 { |
524 { |
525 MUS_LOG( "mus: [MUSUI ] -> CMusUiEventController::HandleExitL" ); |
525 MUS_LOG( "mus: [MUSUI ] -> CMusUiEventController::HandleExitL" ); |
526 |
526 |
527 if ( iShutdownState == EMusUiShutdownNotDefined ) |
527 if ( iShutdownState == EMusUiShutdownNotDefined ) |
528 { |
528 { |
555 DeleteEngineSession(); |
555 DeleteEngineSession(); |
556 |
556 |
557 // Sharing Ended note |
557 // Sharing Ended note |
558 MusUiDialogUtil::ShowGlobalInformationDialogL( |
558 MusUiDialogUtil::ShowGlobalInformationDialogL( |
559 R_MUS_LIVE_SHARING_VIEW_NOTE_SHARING_ENDED ); |
559 R_MUS_LIVE_SHARING_VIEW_NOTE_SHARING_ENDED ); |
|
560 |
|
561 if( aTerminateCall ) |
|
562 { |
|
563 iEventObserver.TerminateCall(); |
|
564 } |
560 |
565 |
561 // TODO: Continue Recording query, if sharing live video and receiving end |
566 // TODO: Continue Recording query, if sharing live video and receiving end |
562 // terminates the sharing session |
567 // terminates the sharing session |
563 |
568 |
564 ExitProcedureL( EFalse ); |
569 ExitProcedureL( EFalse ); |
951 |
956 |
952 case EMusuiCmdViewEndActiveCall: |
957 case EMusuiCmdViewEndActiveCall: |
953 { |
958 { |
954 MUS_LOG( "mus: [MUSUI ] CMusUiReceiveController::ConstructL:\ |
959 MUS_LOG( "mus: [MUSUI ] CMusUiReceiveController::ConstructL:\ |
955 EMusuiCmdViewEndActiveCall" ); |
960 EMusuiCmdViewEndActiveCall" ); |
956 iEventObserver.TerminateCall(); |
961 HandleExitL( ETrue ); |
957 HandleExitL(); |
|
958 break; |
962 break; |
959 } |
963 } |
960 case EMusuiGenCmdExit: |
964 case EMusuiGenCmdExit: |
961 case EAknSoftkeyExit: |
965 case EAknSoftkeyExit: |
962 { |
966 { |