diff options
author | Fabian Kozynski <kozynski@google.com> | 2020-06-25 16:12:31 -0400 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2020-06-26 14:18:58 -0400 |
commit | 99abb711054e42c9cfa03cb484349923a9e5e699 (patch) | |
tree | b40573671c3a6499c42d12ad511e934ac80b8069 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a9d76001a96f2a6aa12cfef8be50eddf4fe7c7f4 (diff) |
Initialize values from sticy ACTION_BATTERY_CHANGED
ACTION_BATTERY_CHANGED is sent as a sticky, so classes in SystemUI need
to retrieve the last value as part of initialization.
As there is no API to retrieve this, the only solution is get the last
sticky for now.
Test: atest KeyguardUpdateMonitorTest BatteryControllerTest
Test: manual, restart and observe battery icon
Fixes: 159679049
Change-Id: I9e4ea67a34f9166b863abc8f99b687e542128f8b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions