commit | 3e7925514fe7b5e2ad93d2a5459b201335a3554a | [log] [tgz] |
---|---|---|
author | Doris Ling <dling@google.com> | Wed Jul 25 15:55:29 2018 -0700 |
committer | Doris Ling <dling@google.com> | Wed Jul 25 15:55:29 2018 -0700 |
tree | dbba9f7342326e78ac9ad6ec0f207f0734d44036 | |
parent | ddc0f7eedc14881cfa4286272f258179e84249a8 [diff] |
Change formatting for device up time. - formatDuration() was changed to return only the largest meaningful unit of time. For example, for 4 hours 35 mins, it will be formatted to 5 hours. Changing to use formatElapsedTime() instead to show the more precise duration for the device up time. Bug: 111828610 Test: make RunSettingsLibRoboTests Change-Id: I9f9194ac179859b35b9eda6ca49f9eee9f11fe70