uifw/AvKon/src/aknlongtapdetector.cpp
branchRCL_3
changeset 20 d48ab3b357f1
parent 19 aecbbf00d063
--- a/uifw/AvKon/src/aknlongtapdetector.cpp	Tue Aug 31 15:28:30 2010 +0300
+++ b/uifw/AvKon/src/aknlongtapdetector.cpp	Wed Sep 01 12:16:19 2010 +0100
@@ -30,7 +30,7 @@
 
 // CONSTANTS
 const TInt KTimeDelayBeforeAnimation = 150000;  // 0,15 seconds
-const TInt KLongTapDelay = 800000;              // 0,8 seconds
+const TInt KLongTapDelay = 500000;              // 0,6 seconds
 
 // ======== MEMBER FUNCTIONS ========
 
@@ -254,6 +254,7 @@
         {
         StopAnimation();
         }
+    iState = EWaiting;
     }
 
 
@@ -321,7 +322,6 @@
             && aEvent.Pointer()->iType == TPointerEvent::EButton1Up ) )
 		{
         Cancel();
-        iState = EWaiting;		
 	    }
     }