Roozbeh Pournader
2e97386d9d
Drop the second unit from elapsed time if zero
...
Previously, we could get formatted strings like "1h 0min" which is
unnecessarily complex for users. Replace such cases with "1 h" if
the second unit is zero.
Fixes: 65426298
Test: bit FrameworksCoreTests:android.text.format.FormatterTest
Change-Id: I1d9828ec97f2cbfb7ce27c266a04d4c02b090d6d
2017-11-15 16:19:35 -08:00
..
2017-11-15 16:19:35 -08:00
2017-06-08 15:38:28 -07:00
2017-07-31 18:46:06 +00:00
2017-06-13 16:39:10 -07:00
2017-10-19 11:20:46 -07:00
2016-12-14 17:08:56 +00:00
2016-10-11 17:25:05 -07:00
2017-03-31 18:34:58 -07:00
2017-07-20 15:04:49 -07:00
2017-10-10 12:40:47 -07:00
2017-01-26 04:49:33 +00:00
2017-03-31 18:34:58 -07:00
2017-01-23 15:02:23 +00:00
2017-08-11 12:34:26 -07:00
2017-04-03 13:55:07 -07:00
2016-10-17 11:33:28 -07:00
2016-12-14 14:10:46 -08:00
2017-10-13 15:57:48 -07:00
2017-08-02 10:37:07 -07:00
2017-09-14 23:59:18 +00:00
2017-10-24 17:31:17 -07:00
2017-10-24 17:31:17 -07:00
2017-07-18 15:59:28 +01:00
2016-08-26 16:41:36 -07:00
2017-04-11 09:57:02 -07:00
2017-04-11 09:57:02 -07:00
2017-06-01 18:25:40 +00:00
2017-10-24 17:31:17 -07:00
2017-10-24 16:21:51 -07:00
2017-06-05 15:57:14 -07:00
2017-10-24 17:31:17 -07:00