OSDN Git Service

fix hover events consume issue
authorMasanori Ogino <ogino.masanori@sharp.co.jp>
Tue, 22 Jan 2013 09:10:52 +0000 (18:10 +0900)
committerMasanori Ogino <ogino.masanori@sharp.co.jp>
Tue, 22 Jan 2013 09:10:52 +0000 (18:10 +0900)
commitf449c0c381239dc0f78b0f01ecfb3889e056a597
tree465502c36f564cdcf405efc72b184dae256e23bf
parentb1e16f11ffd3a391be1a44a352c122b6dad1e8a5
fix hover events consume issue

View#onHoverEvent() would always consume hover events over the view
if an application window has the clickable view/widget on it.
That's happened even if accessibility/talkback is disabled.
So those events will not dispatch to activity#onGenericMotionEvent().

The onHoverEvent method should return a real consumed state.

Change-Id: I9cac13b82866e5cdda0b03befb0de752a0a2e741
core/java/android/view/View.java