camerauis/cameraapp/generic/src/CamStandbyContainer.cpp
branchRCL_3
changeset 50 f54ad444594d
parent 31 8f559c47d7fd
--- a/camerauis/cameraapp/generic/src/CamStandbyContainer.cpp	Thu Jul 15 18:18:07 2010 +0300
+++ b/camerauis/cameraapp/generic/src/CamStandbyContainer.cpp	Thu Aug 19 09:36:57 2010 +0300
@@ -201,7 +201,7 @@
                !static_cast<CCamAppUi*>( iEikonEnv->AppUi() )->IsSecondCameraEnabled() )
         || ( IsCaptureKeyL(aKeyEvent, aType)) )
         {
-        // in case we receive an enter key or MSK key event in standby mode
+        // in case we receive MSK key event in standby mode
         // we should not call HandleCommandL function with ECamCmdExitStandby
         // because by default application will get a left softkey command id
         // when MSK is pressed. In standby mode left softkey command id is
@@ -209,8 +209,7 @@
         if ( !( ( aType == EEventKey || 
                   aType == EEventKeyDown || 
                   aType == EEventKeyUp ) && 
-                ( aKeyEvent.iScanCode == EStdKeyDevice3 ||
-                  aKeyEvent.iScanCode == EStdKeyEnter ) ) )
+                  aKeyEvent.iScanCode == EStdKeyDevice3  ) )
              {
              iView.HandleCommandL( ECamCmdExitStandby );
              }