From 7ce0c13c0e5a1413ecde1a5c36510d22979f9012 Mon Sep 17 00:00:00 2001 From: Svetoslav Ganov Date: Wed, 7 Nov 2012 15:54:56 -0800 Subject: Slide unlock cannot get accessibility focus. 1. There are two overlaid views, one is the GlowPadView and the other is the SlidingChallengeLayout. Since the GlowPadView is on top of the other view it has to consume the hover events or they will be dispatched to the view behind it which results the the GlowPadView not getting accessibility focus. bug:7496770 Change-Id: Iae3b1777e490c56e33560a016fc04a92226bfb66 --- core/java/com/android/internal/widget/multiwaveview/GlowPadView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/java/com/android/internal/widget/multiwaveview/GlowPadView.java b/core/java/com/android/internal/widget/multiwaveview/GlowPadView.java index f2ad0ef..aad285a 100644 --- a/core/java/com/android/internal/widget/multiwaveview/GlowPadView.java +++ b/core/java/com/android/internal/widget/multiwaveview/GlowPadView.java @@ -954,7 +954,8 @@ public class GlowPadView extends View { onTouchEvent(event); event.setAction(action); } - return super.onHoverEvent(event); + super.onHoverEvent(event); + return true; } /** -- cgit v1.1