Skip to content
Commit 1c2b8088 authored by Evan Laird's avatar Evan Laird
Browse files

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
parent d3f2f43f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment