camerauis/cameraapp/generic/src/CamPostCaptureContainer.cpp
branchRCL_3
changeset 27 53c8aa5d97a3
parent 25 bf64cebf4673
child 31 8f559c47d7fd
--- 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") );
   }