summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-11-07 15:54:56 -0800
committerSvetoslav Ganov <svetoslavganov@google.com>2012-11-07 15:55:02 -0800
commit7ce0c13c0e5a1413ecde1a5c36510d22979f9012 (patch)
tree198fbc605ad8c170027eb06d4ca882b1caf49071 /core
parentfd8c388f028de046e5f5ed36880e98f67e6bb481 (diff)
downloadframeworks_base-7ce0c13c0e5a1413ecde1a5c36510d22979f9012.zip
frameworks_base-7ce0c13c0e5a1413ecde1a5c36510d22979f9012.tar.gz
frameworks_base-7ce0c13c0e5a1413ecde1a5c36510d22979f9012.tar.bz2
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
Diffstat (limited to 'core')
-rw-r--r--core/java/com/android/internal/widget/multiwaveview/GlowPadView.java3
1 files changed, 2 insertions, 1 deletions
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;
}
/**