Slide unlock cannot get accessibility focus (deskclock).
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: Ibfb8ec1494600cb9bf3ab57867daa896735b2308
diff --git a/src/com/android/deskclock/widget/multiwaveview/GlowPadView.java b/src/com/android/deskclock/widget/multiwaveview/GlowPadView.java
index e9d3711..30c77ba 100644
--- a/src/com/android/deskclock/widget/multiwaveview/GlowPadView.java
+++ b/src/com/android/deskclock/widget/multiwaveview/GlowPadView.java
@@ -935,7 +935,8 @@
onTouchEvent(event);
event.setAction(action);
}
- return super.onHoverEvent(event);
+ super.onHoverEvent(event);
+ return true;
}
/**