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

Skip to content
Commit 3e792551 authored by Doris Ling's avatar Doris Ling
Browse files

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
parent ddc0f7ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment