Merge "Fix tap detection after a long press"

This commit is contained in:
Adam Powell
2010-03-11 16:33:58 -08:00
committed by Android (Google) Code Review

View File

@@ -4356,6 +4356,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
mPendingCheckForTap = new CheckForTap();
}
mPrivateFlags |= PREPRESSED;
mHasPerformedLongPress = false;
postDelayed(mPendingCheckForTap, ViewConfiguration.getTapTimeout());
break;