commit | 1c2b8088db28d2f5a94043a63a9ede64d5f8d463 | [log] [tgz] |
---|---|---|
author | Evan Laird <evanlaird@google.com> | Wed Apr 06 17:19:53 2022 -0400 |
committer | Evan Laird <evanlaird@google.com> | Wed Apr 06 17:31:06 2022 -0400 |
tree | d34842ca69795b4ef41b8cfc31dfcf3436e051d1 | |
parent | d3f2f43fdbccdb72e993dcf460d2725f0c4f3460 [diff] |
Use background call for BatteryController#init() BatteryController was doing an initial battery estimate fetch on startup, but using the wrong method which didn't use a worker thread, and this could cause ANRs Fixes: 222669305 Test: atest BatteryControllerTest Change-Id: I2116af2f5989970d53805b28fd179240099b556d