commit | b05a3c5f20927828619057f25e7f8fcce21cce02 | [log] [tgz] |
---|---|---|
author | Michael Wachenschwanz <mwachens@google.com> | Fri Jul 07 17:47:04 2017 -0700 |
committer | Michael Wachenschwanz <mwachens@google.com> | Wed Jul 12 18:06:35 2017 -0700 |
tree | c863c377b1ffbe3973a8e9ce4d8db122cdd7166f | |
parent | e9b68966079bec8858bbe4da5644c2e1788413f2 [diff] |
Add Foreground Service Timer Create a new timer to keep track of time spent in the Foreground Service state. Expose said timer so Settings can use foreground service time in its battery usage calculations. Test: bit FrameworksCoreTests:com.android.internal.os.BatteryStatsNoteTest Bug: 38313557 Change-Id: Ib30e9354665343262c6796c630b180a444bed88c