commit | 81e9af8e58af85dc0cbfd86c2e992f8c6dcb0581 | [log] [tgz] |
---|---|---|
author | Matt Pietal <mpietal@google.com> | Mon Oct 21 18:52:37 2024 +0000 |
committer | Matt Pietal <mpietal@google.com> | Mon Oct 21 19:05:41 2024 +0000 |
tree | 7d79559161b89ef175e2d1817d607f3818874287 | |
parent | 7a986b30b1c30eb6bf4729ecf1e41a44625d46ec [diff] |
Fix first battery message on boot The default battery level was being set to 100 and then displayed to the user. The correct battery level is received as a broadcast, so initialize to an invalid value and wait for the first broadcast to come. Fixes: 353636704 Test: atest KeyguardIndicationControllerTest Flag: EXEMPT bugfix Change-Id: I3c8e85d8d02652253a3895edda28ec4f198e532e