equal
deleted
inserted
replaced
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: Application's UI class. |
14 * Description: Application's UI class. |
15 * Version : %version: be1sipx1#75.1.13 % << Don't touch! Updated by Synergy at check-out. |
15 * Version : %version: be1sipx1#75.1.14 % << Don't touch! Updated by Synergy at check-out. |
16 * |
16 * |
17 */ |
17 */ |
18 |
18 |
19 |
19 |
20 |
20 |
671 MUS_LOG( "mus: [MUSUI ] -> CMusUiReceiveController::InvitationAcceptedL" ); |
671 MUS_LOG( "mus: [MUSUI ] -> CMusUiReceiveController::InvitationAcceptedL" ); |
672 __ASSERT_ALWAYS( iSession, User::Leave( KErrNotReady ) ); |
672 __ASSERT_ALWAYS( iSession, User::Leave( KErrNotReady ) ); |
673 |
673 |
674 // Enable loud speaker already before answering but disable it immediately |
674 // Enable loud speaker already before answering but disable it immediately |
675 // if accepting fails for some reason |
675 // if accepting fails for some reason |
676 if ( iSession->AudioRoutingCanBeChanged() ) |
676 if ( iSession->AudioRoutingCanBeChanged() && !iSession->AudioOutputIsBT() ) |
677 { |
677 { |
678 iSession->EnableLoudspeakerL( ELoudspeakerEnabled, ETrue ); |
678 iSession->EnableLoudspeakerL( ELoudspeakerEnabled, ETrue ); |
679 } |
679 } |
680 |
680 |
681 TRAPD( err, iSession->AcceptInvitationL( ETrue ) ); |
681 TRAPD( err, iSession->AcceptInvitationL( ETrue ) ); |