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