camerauis/cameraapp/generic/src/cameracontroller/camcameracontroller.cpp
branchRCL_3
changeset 19 e32fcfe0045f
parent 17 8f559c47d7fd
child 22 f54ad444594d
equal deleted inserted replaced
17:8f559c47d7fd 19:e32fcfe0045f
  4166   __ASSERT_DEBUG( iInfo.iBusy, Panic( ECamCameraControllerCorrupt ) );
  4166   __ASSERT_DEBUG( iInfo.iBusy, Panic( ECamCameraControllerCorrupt ) );
  4167   CAMERAAPP_PERF_CONTROLLER_STOP( ECamRequestReserve );
  4167   CAMERAAPP_PERF_CONTROLLER_STOP( ECamRequestReserve );
  4168 
  4168 
  4169   if( KErrNone == aStatus ) SetFlags  ( iInfo.iState, ECamReserved );
  4169   if( KErrNone == aStatus ) SetFlags  ( iInfo.iState, ECamReserved );
  4170   else                      ClearFlags( iInfo.iState, ECamReserved );
  4170   else                      ClearFlags( iInfo.iState, ECamReserved );
       
  4171 
       
  4172   // Make sure our priority is not downgraded
       
  4173   CEikonEnv* env = CEikonEnv::Static();
       
  4174   env->WsSession().ComputeMode(RWsSession::EPriorityControlDisabled);
  4171 
  4175 
  4172 #ifdef CAMERAAPP_CAE_FIX
  4176 #ifdef CAMERAAPP_CAE_FIX
  4173   if( ECamModeChangeVideo2Image == iModeChange )
  4177   if( ECamModeChangeVideo2Image == iModeChange )
  4174     {
  4178     {
  4175     if( ECamModeChangePhase1 == iModeChangePhase )
  4179     if( ECamModeChangePhase1 == iModeChangePhase )