camerauis/cameraapp/generic/src/CamContainerBase.cpp
branchRCL_3
changeset 62 f0c0788c4de2
parent 57 2c87b2808fd7
child 67 756ad29ed18e
--- a/camerauis/cameraapp/generic/src/CamContainerBase.cpp	Tue Sep 14 20:46:07 2010 +0300
+++ b/camerauis/cameraapp/generic/src/CamContainerBase.cpp	Wed Sep 15 11:51:19 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -394,7 +394,12 @@
             aKeyEvent.iCode == EKeyOK && 
             aKeyEvent.iRepeats == 0 )
     {
-    iView.HandleCommandL( EAknSoftkeySelect );
+    if( !iController.IsDemandKeyRelease() )
+        {
+        // Forward selection key event if button has been released 
+        // after last video capture
+        iView.HandleCommandL( EAknSoftkeySelect );
+        }
     return EKeyWasConsumed; // indicate key press was processed
     }
     // stop video or sequence if get applications key press (short or long)