commit | 42151571e0e3010049c7d3124121c21fb403372d | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Mon Feb 05 15:29:04 2018 +0000 |
committer | Narayan Kamath <narayan@google.com> | Mon Feb 05 15:30:36 2018 +0000 |
tree | ad81f824d4285b66af75be01e2aebd4c7ec421c1 | |
parent | d11dc140bc352e06a19858ddd7bf5f72ed06da03 [diff] |
BatteryStats: Fix bogus calls to addHistoryRecordLocked. The second argument (byte cmd) was being cast to long and being used as uptimeMs. Test: BatteryStatsTests Bug: 71355449 Change-Id: If40745d25038cd5d206244f7a28d6902bbb43c18