Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a79a747c authored by Dan Sandler's avatar Dan Sandler
Browse files

Announce chronometers with time-unit words.

Instead of just using the visible representation for
accessibility, for which "00:15" is announced as "zero
fifteen", we now say "fifteen seconds".

Similarly,

  00:00 - "0 seconds"
  01:00 - "1 minute"
  02:05 - "2 minutes 5 seconds"
  1:00:00 - "1 hour"
  2:00:02 - "2 hours 2 seconds"
  2:01:02 - "2 hours 1 minute 2 seconds"
  -5 - "5 seconds" (what are we, Mission Control?)

Adapted from similar code in
  packages/apps/InCallUI/src/com/android/incallui/InCallDateUtils.java

Bug: 19418509
Change-Id: I54188ef25a7a205bb5bab42663a3da357ac853ef
parent b0a5e78f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment