diff options
author | Evan Laird <evanlaird@google.com> | 2020-12-09 16:10:30 -0500 |
---|---|---|
committer | Evan Laird <evanlaird@google.com> | 2020-12-09 16:10:30 -0500 |
commit | 89f2b74245fd7b8925717a35f387b63d546a1fa4 (patch) | |
tree | afcdb72465563a5e7ac5e41094c3ed3d8d339699 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8e3ec4343d78b037a1f3dd05a42300ec91c2f290 (diff) |
Send current battery present state on add callback
BatteryControllerImpl won't send updates to the battery unknown state if
it hasn't changed, but BatteryMeterView can get reinflated on theme
change. This change makes sure we send the current state when callbacks
are added.
Test: atest BatteryControllerTest
Bug: 174959955
Change-Id: I30b4a7b7f55a1f26b6451f23721be3a709ddf894
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions