Merge "Revert change f449c0c381239dc0f78b0f01ecfb3889e056a597." into jb-mr2-dev

This commit is contained in:
Svetoslav Ganov
2013-04-26 16:35:49 +00:00
committed by Android (Google) Code Review

View File

@@ -8228,7 +8228,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
// in onHoverEvent.
// Note that onGenericMotionEvent will be called by default when
// onHoverEvent returns false (refer to dispatchGenericMotionEvent).
return dispatchGenericMotionEventInternal(event);
dispatchGenericMotionEventInternal(event);
// The event was already handled by calling setHovered(), so always
// return true.
return true;
}
return false;