--- a/camerauis/cameraapp/generic/src/CamPostCaptureContainer.cpp Tue May 11 15:56:11 2010 +0300
+++ b/camerauis/cameraapp/generic/src/CamPostCaptureContainer.cpp Tue May 25 12:22:04 2010 +0300
@@ -529,15 +529,13 @@
TInt /*aError*/ )
{
PRINT( _L("Camera => CCamPostCaptureContainer::HandleControllerEventL") );
- // If this is a capture complete event
- if ( aEvent == ECamEventCaptureComplete )
+ // If this is a capture complete event, or snapshot needs to be drawn
+ if ( aEvent == ECamEventCaptureComplete ||
+ aEvent == ECamEventSnapshotReady ||
+ aEvent == ECamEventSnapshotRotated )
{
DrawNow();
}
- else if ( aEvent == ECamEventSnapshotReady )
- {
- DrawNow();
- }
PRINT( _L("Camera <= CCamPostCaptureContainer::HandleControllerEventL") );
}