OSDN Git Service

Revert change f449c0c381239dc0f78b0f01ecfb3889e056a597.
authorAlan Viverette <alanv@google.com>
Fri, 26 Apr 2013 00:32:45 +0000 (17:32 -0700)
committerAlan Viverette <alanv@google.com>
Fri, 26 Apr 2013 00:32:45 +0000 (17:32 -0700)
commite7a4e636ac0923d72505efd6df8cd130c83fe97c
tree5cb92cdc180343f0b3f16851807e5d04718e0344
parente00a3b80635c830dc57510556231cc40db6651f5
Revert change f449c0c381239dc0f78b0f01ecfb3889e056a597.

Previously, onHoverEvent() would return true if a view was hoverable
and consume the event. After the change, it would return the result of
dispatchGenericMotionEventInternal(). As a result, touch exploration
caused multiple hover events to be sent from every view under a given
touch point. This change reverts to the original behavior and fixes
touch exploration.

BUG: 8723842
Change-Id: I0c7362f19c51bf21ed842711a03b7f02613958d2
core/java/android/view/View.java