equal
deleted
inserted
replaced
4025 |
4025 |
4026 if( KErrNone == aStatus ) |
4026 if( KErrNone == aStatus ) |
4027 { |
4027 { |
4028 SetFlags( iInfo.iState, ECamPowerOn|ECamReserved ); |
4028 SetFlags( iInfo.iState, ECamPowerOn|ECamReserved ); |
4029 |
4029 |
4030 TRAP_IGNORE( SetFaceTrackingL() ); |
|
4031 #if defined( CAMERAAPP_CAE_FOR_VIDEO ) && !defined( CAMERAAPP_CAE_FIX ) |
4030 #if defined( CAMERAAPP_CAE_FOR_VIDEO ) && !defined( CAMERAAPP_CAE_FIX ) |
4032 // We need to tell to CCaeEngine that the CCamera has been reserved |
4031 // We need to tell to CCaeEngine that the CCamera has been reserved |
4033 // and powered on "behind its back". |
4032 // and powered on "behind its back". |
4034 if( iCaeEngine ) |
4033 if( iCaeEngine ) |
4035 { |
4034 { |
4929 // decrease index, to get the same request handled again |
4928 // decrease index, to get the same request handled again |
4930 iSequenceIndex--; |
4929 iSequenceIndex--; |
4931 notify = EFalse; |
4930 notify = EFalse; |
4932 proceedSequence = ETrue; |
4931 proceedSequence = ETrue; |
4933 PRINT1( _L( "Camera <> CCamCameraController::HandleCallbackEvent - %d reserve try again left" ), iReserveTryAgainCount ); |
4932 PRINT1( _L( "Camera <> CCamCameraController::HandleCallbackEvent - %d reserve try again left" ), iReserveTryAgainCount ); |
4934 |
|
4935 } |
4933 } |
4936 else |
4934 else if(KErrBadName == aStatus && |
|
4935 iSequenceIndex >= 0 && |
|
4936 Request2Event( iSequenceArray[iSequenceIndex] ) == aEventId) |
|
4937 { |
|
4938 aStatus = KErrNone; |
|
4939 notify = ETrue; |
|
4940 proceedSequence = ETrue; |
|
4941 //EndSequence( aStatus ); |
|
4942 } |
|
4943 else |
4937 { |
4944 { |
4938 |
4945 |
4939 notify = EFalse; |
4946 notify = EFalse; |
4940 proceedSequence = EFalse; |
4947 proceedSequence = EFalse; |
4941 EndSequence( aStatus ); |
4948 EndSequence( aStatus ); |