summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authoryingleiw <yingleiw@google.com>2019-09-20 16:23:39 -0700
committeryingleiw <yingleiw@google.com>2019-09-23 17:58:09 -0700
commita26a37c8ffc9ac8223c26864e35863799da75c11 (patch)
treeb9bcea59808f84efc23b22e2259d435ccd65f99f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent69235dcbec1d8b9d1213be91ec38d20f9132efa6 (diff)
[SimpleMonthView] days should be set clickable even when disabled
Currently, ACTION_CLICK is removed when a day is disabled. This causes the month to be the first non-title talkback focusable item and talkback places the initial focus on the month and announces all the disabled dates. According to discussion, disabling an item should not change whether it is talkback focusable. We still set the days as clickable even when they are disabled. After the fix, the disabled days are also focusable (and will be announced as disabled when talkback focus goes there). The initial focus will go the first non-title focusable item (previous or next month button). Bug: 122831096 Test: Tested that after the fix, the initial focus will go the first non-title focusable item (previous or next month button depends on the visibility). The month never gets accessibility focus. Change-Id: I925539282729d5d8418233fc95d3761ea2d0108f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions