phoneapp/phoneuiview/src/cphoneviewcontroller.cpp
branchRCL_3
changeset 73 e30d4a1b8bad
parent 69 8baf28733c3d
child 81 c26cc2a7c548
equal deleted inserted replaced
69:8baf28733c3d 73:e30d4a1b8bad
  2309         appKeyCaptureParam.SetKey( EStdKeyApplication0 );
  2309         appKeyCaptureParam.SetKey( EStdKeyApplication0 );
  2310         appKeyCaptureParam.SetKeyCode( EKeyApplication0 );
  2310         appKeyCaptureParam.SetKeyCode( EKeyApplication0 );
  2311         appKeyCaptureParam.SetCaptureType( EPhoneKeyAllEvents );
  2311         appKeyCaptureParam.SetCaptureType( EPhoneKeyAllEvents );
  2312 
  2312 
  2313         iKeyCaptureController->StopCapturingKey( &appKeyCaptureParam );
  2313         iKeyCaptureController->StopCapturingKey( &appKeyCaptureParam );
       
  2314         
       
  2315         // Uncapture the Camera key for sure, if it exists
       
  2316         if ( !iSecurityMode && FeatureManager::FeatureSupported( KFeatureIdCamera ) )
       
  2317             {
       
  2318             TPhoneCmdParamKeyCapture cameraKeyCaptureParam;
       
  2319             cameraKeyCaptureParam.SetKey( EStdKeyDevice7 );
       
  2320             cameraKeyCaptureParam.SetKeyCode( EKeyDevice7 );
       
  2321             cameraKeyCaptureParam.SetCaptureType( EPhoneKeyAllEvents );
       
  2322             iKeyCaptureController->StopCapturingKey( &cameraKeyCaptureParam );
       
  2323             }
  2314         }
  2324         }
  2315     }
  2325     }
  2316 
  2326 
  2317 // ---------------------------------------------------------------------------
  2327 // ---------------------------------------------------------------------------
  2318 // CPhoneViewController::IdleAppUid
  2328 // CPhoneViewController::IdleAppUid