diff options
| author | 2022-04-06 17:19:53 -0400 | |
|---|---|---|
| committer | 2022-04-06 17:31:06 -0400 | |
| commit | 1c2b8088db28d2f5a94043a63a9ede64d5f8d463 (patch) | |
| tree | d34842ca69795b4ef41b8cfc31dfcf3436e051d1 /libs/androidfw/StringPool.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions