summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Sally <sallyyuen@google.com> 2024-05-23 15:46:08 +0000
committer Sally Kovacs <sallyyuen@google.com> 2024-10-07 16:51:53 +0000
commit096190a93b1672b582ccdf648754676ab7a5ef7e (patch)
tree486863c603217e899639eaf7b92d4aa3840afb4f /cmds/bootanimation/BootAnimation.cpp
parent5718f500587910c89b19b08924ae50b8d85dde46 (diff)
Add a Duration type and ARG_SECONDS to TtsSpan
This will enable more understandable speech output of durations for screen readers, since by default numbers like "4:33" will typically be announced as times, but depending on the context the ideal speech may instead be "4 minutes 33 seconds". This will also move developers away from content descriptions, which reduce app resources used and avoids conflicts between accessibility events (Example: simultaneous content description and text changes in stopwatches/timers). Flag: com.android.text.flags.tts_span_duration Bug: 337103893 Test: atest TtsSpanTest, manual Change-Id: I7e08eeaa67b0d1dbcf31dacf1465cb427dfa80c6
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions