commit | db6d624a19695cebda511ed8214852d29359f040 | [log] [tgz] |
---|---|---|
author | Bookatz <bookatz@google.com> | Mon Mar 18 15:42:55 2019 -0700 |
committer | Bookatz <bookatz@google.com> | Wed Mar 20 10:13:58 2019 -0700 |
tree | c67087709f4fb61ae1b1df69e66fa2f8ed40790b | |
parent | 1371b9ac52d6dd1f955c6bc6f8f04ad2b8e0785e [diff] |
BatteryStats remove which - log warnings In ag/6694908, BatteryStats is changed to only support the "which" of STATS_SINCE_CHARGED. Here, we deal with BatteryStats calls that attempt to use a different which, logging the event, exiting, and/or just using STATS_SINCE_CHARGED as applicable. Test: compiles Bug: 70892428 Change-Id: Id0e9f863d8b1a5fb7baa770683c0c4ec5880e976