Merge "Bug fix for building the hover target list"

This commit is contained in:
Jeff Brown
2013-05-28 20:04:23 +00:00
committed by Gerrit Code Review

View File

@@ -1472,9 +1472,9 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
if (lastHoverTarget != null) {
lastHoverTarget.next = hoverTarget;
} else {
lastHoverTarget = hoverTarget;
mFirstHoverTarget = hoverTarget;
}
lastHoverTarget = hoverTarget;
// Dispatch the event to the child.
if (action == MotionEvent.ACTION_HOVER_ENTER) {