Skip to content

Commit 7ce0c13

Browse files
committed
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
1 parent fd8c388 commit 7ce0c13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/java/com/android/internal/widget/multiwaveview/GlowPadView.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,8 @@ public boolean onHoverEvent(MotionEvent event) {
954954
onTouchEvent(event);
955955
event.setAction(action);
956956
}
957-
return super.onHoverEvent(event);
957+
super.onHoverEvent(event);
958+
return true;
958959
}
959960

960961
/**

0 commit comments

Comments
 (0)