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
Loading
Please register or sign in to comment