camerauis/cameraapp/generic/src/CamFileCheckAo.cpp
branchRCL_3
changeset 31 8f559c47d7fd
parent 0 1ddebce53859
equal deleted inserted replaced
27:53c8aa5d97a3 31:8f559c47d7fd
    97              && iArray->FileName( iFileIndex ) != KNullDesC )
    97              && iArray->FileName( iFileIndex ) != KNullDesC )
    98             {
    98             {
    99             PRINT1( _L("Camera <> CCamFileCheckAo::RunL: File %s didn't exist"),iArray->FileName( iFileIndex ).Ptr() )
    99             PRINT1( _L("Camera <> CCamFileCheckAo::RunL: File %s didn't exist"),iArray->FileName( iFileIndex ).Ptr() )
   100             iArray->SetDeleted( iFileIndex, ETrue );             
   100             iArray->SetDeleted( iFileIndex, ETrue );             
   101             iFileCount--;
   101             iFileCount--;
       
   102             
       
   103             // Avoid instant view switch from postcapture
       
   104             // to precapture when the file was deleted
       
   105             // in Photos or File Manager while camera
       
   106             // postcapture view was in background.
       
   107             User::After( 150000 ); 
   102             }  	
   108             }  	
   103         }
   109         }
   104     else
   110     else
   105         {
   111         {
   106         PRINT( _L("Camera <> CCamFileCheckAo::RunL emptyrun") )
   112         PRINT( _L("Camera <> CCamFileCheckAo::RunL emptyrun") )