335 MUTABLE_CAST( CIncallAnim* , this ); |
335 MUTABLE_CAST( CIncallAnim* , this ); |
336 |
336 |
337 // Start animation - we can't do a thing if this fails |
337 // Start animation - we can't do a thing if this fails |
338 if ( iCallAnimType == EVoipCallAnim ) |
338 if ( iCallAnimType == EVoipCallAnim ) |
339 { |
339 { |
340 TRAP( error , iIndiVoIPAnim->StartAnimationL(EFalse) ); |
340 TRAP( error , iIndiVoIPAnim->StartAnimationL() ); |
341 mutableThis->iIsVoIPRunning = ETrue; |
341 mutableThis->iIsVoIPRunning = ETrue; |
342 mutableThis->iIsRunning = EFalse; |
342 mutableThis->iIsRunning = EFalse; |
343 mutableThis->iIsVideoRunning = EFalse; |
343 mutableThis->iIsVideoRunning = EFalse; |
344 } |
344 } |
345 else if ( iCallAnimType == EVideoCallAnim ) |
345 else if ( iCallAnimType == EVideoCallAnim ) |
346 { |
346 { |
347 TRAP( error , iIndiVideoAnim->StartAnimationL(EFalse) ); |
347 TRAP( error , iIndiVideoAnim->StartAnimationL() ); |
348 mutableThis->iIsVoIPRunning = EFalse; |
348 mutableThis->iIsVoIPRunning = EFalse; |
349 mutableThis->iIsVideoRunning = ETrue; |
349 mutableThis->iIsVideoRunning = ETrue; |
350 mutableThis->iIsRunning = EFalse; |
350 mutableThis->iIsRunning = EFalse; |
351 } |
351 } |
352 else |
352 else |
353 { |
353 { |
354 TRAP( error , iIndiAnim->StartAnimationL(EFalse) ); |
354 TRAP( error , iIndiAnim->StartAnimationL() ); |
355 mutableThis->iIsVoIPRunning = EFalse; |
355 mutableThis->iIsVoIPRunning = EFalse; |
356 mutableThis->iIsRunning = ETrue; |
356 mutableThis->iIsRunning = ETrue; |
357 mutableThis->iIsVideoRunning = EFalse; |
357 mutableThis->iIsVideoRunning = EFalse; |
358 } |
358 } |
359 } |
359 } |