camerauis/cameraapp/generic/src/CamPreCaptureViewBase.cpp
branchRCL_3
changeset 10 8c55c525d5d7
parent 9 792dfc98fb3b
child 11 d486e5e3cc9a
equal deleted inserted replaced
9:792dfc98fb3b 10:8c55c525d5d7
   385             {
   385             {
   386             PRINT( _L("Camera <> CCamPreCaptureViewBase::HandleForegroundEventL start VF"))
   386             PRINT( _L("Camera <> CCamPreCaptureViewBase::HandleForegroundEventL start VF"))
   387             StartViewFinder();
   387             StartViewFinder();
   388             }
   388             }
   389         }
   389         }
   390                                     
   390     // Check if currently selected storagemedia has available memory for next capturing
       
   391     appUi->CheckMemoryAvailableForCapturing();                                   
   391     
   392     
   392     // <CAMERAAPP_CAPI_V2_MIGRATION/>
   393     // <CAMERAAPP_CAPI_V2_MIGRATION/>
   393     // if ( iController.EngineState() == ECamEngineStillCapturePrepared ||
   394     // if ( iController.EngineState() == ECamEngineStillCapturePrepared ||
   394     //      iController.EngineState() == ECamEngineVideoCapturePrepared )
   395     //      iController.EngineState() == ECamEngineVideoCapturePrepared )
   395     // if ( ( ECamImageOn|ECamVideoOn )& ( iController.CameraState() ) )
   396     // if ( ( ECamImageOn|ECamVideoOn )& ( iController.CameraState() ) )
  1360     CCamViewBase::ExitStandbyModeL();
  1361     CCamViewBase::ExitStandbyModeL();
  1361     
  1362     
  1362     // Need to update appui viewstate
  1363     // Need to update appui viewstate
  1363     PRINT( _L("Camera <> CCamPreCaptureViewBase::ExitStandbyModeL: emit ECamCmdSwitchToPrecapture" ) )
  1364     PRINT( _L("Camera <> CCamPreCaptureViewBase::ExitStandbyModeL: emit ECamCmdSwitchToPrecapture" ) )
  1364     appUi->HandleCommandL( ECamCmdSwitchToPrecapture );
  1365     appUi->HandleCommandL( ECamCmdSwitchToPrecapture );
  1365     
  1366     // Check if currently selected storagemedia has available memory for next capturing
       
  1367     appUi->CheckMemoryAvailableForCapturing();      
       
  1368         
  1366     if ( uiOverride )
  1369     if ( uiOverride )
  1367         {
  1370         {
  1368         appUi->SetActivePaletteVisibility( EFalse );    
  1371         appUi->SetActivePaletteVisibility( EFalse );    
  1369         }
  1372         }
  1370     else
  1373     else