commit | c6bd4243a46acc85058fcad2eb6957c42f591006 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Fri Dec 09 19:04:50 2016 -0800 |
committer | Kweku Adams <kwekua@google.com> | Wed Dec 14 21:54:48 2016 +0000 |
tree | ba053932400c31476c644ff78c148c1864185c10 | |
parent | 7af83d0e5ab0f1962545096be65801e6f1c3886e [diff] |
Fixing issue in current and max duration calculations. It looks like one operation was done out of order and some of the times used in the calculations were leading to incorrect results. BUG: 31023263 Test: bit FrameworksCoreTests:com.android.internal.os.BatteryStatsDurationTimerTest Change-Id: I417cc28c5a55748067b6c7f682a66fe3dbc09f09 (cherry picked from commit 47db5a8bf74a77306b811d14e3c052cdf86ef704)