camerauis/cameraapp/generic/src/CamPreCaptureContainerBase.cpp
branchRCL_3
changeset 50 f54ad444594d
parent 35 e32fcfe0045f
equal deleted inserted replaced
49:289bbfdb6627 50:f54ad444594d
   979         iReceivedVfFrame = EFalse;
   979         iReceivedVfFrame = EFalse;
   980 
   980 
   981         // Cancel timer if we're losing focus
   981         // Cancel timer if we're losing focus
   982         iZoomTimer->Cancel();  
   982         iZoomTimer->Cancel();  
   983         
   983         
   984         if ( !iShuttingDown )
   984         if ( iController.IsAppUiAvailable() && !iShuttingDown )
   985             {
   985             {
   986             iSidePane->MakeVisible( ETrue );
   986             iSidePane->MakeVisible( ETrue );
   987             iZoomPane->MakeVisible( EFalse, EFalse );
   987             iZoomPane->MakeVisible( EFalse, EFalse );
   988             
   988             
   989             // Will stop any ongoing zoom
   989             // Will stop any ongoing zoom
  2927         {
  2927         {
  2928         iIndBlinkTimer->Cancel();
  2928         iIndBlinkTimer->Cancel();
  2929         iDrawIndicator = ETrue;
  2929         iDrawIndicator = ETrue;
  2930         }
  2930         }
  2931     
  2931     
  2932     if ( iCaptureButtonContainer )
  2932     CCamAppUi* appUi = static_cast<CCamAppUi*>( iEikonEnv->AppUi() );
       
  2933     if ( iCaptureButtonContainer && !( appUi && appUi->SelfTimerEnabled() ) )
  2933         {
  2934         {
  2934         iCaptureButtonContainer->SetCaptureButtonShown( EFalse );
  2935         iCaptureButtonContainer->SetCaptureButtonShown( EFalse );
  2935         }
  2936         }
  2936     }
  2937     }
  2937 // End of File
  2938 // End of File