Skip to content

Commit d2831cb

Browse files
committed
[TimePicker] Make ClockFaceView not focusable
Prevent keyboard navigation from unnecessarily focusing the clock face. PiperOrigin-RevId: 620981338
1 parent 89d9485 commit d2831cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/java/com/google/android/material/timepicker/ClockFaceView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public boolean onPreDraw() {
150150
}
151151
});
152152

153-
setFocusable(true);
153+
setFocusable(false);
154154
a.recycle();
155155
valueAccessibilityDelegate =
156156
new AccessibilityDelegateCompat() {

0 commit comments

Comments
 (0)