commit | ab6df3a3d1cb9f35341cad3e4589a8f5d4371bfc | [log] [tgz] |
---|---|---|
author | Evan Laird <evanlaird@google.com> | Wed Sep 30 15:04:37 2020 -0400 |
committer | Evan Laird <evanlaird@google.com> | Mon Oct 19 12:57:14 2020 -0400 |
tree | 29a1ee758343de476582fd4ab3132bd28f544f01 | |
parent | 429fc8c1a5b3d31aebaf909ca7bb90f8aa552ab4 [diff] |
Listen for EXTRA_PRESENT changes ACTION_BATTERY_CHANGED can pass a boolean EXTRA_PRESENT which would alert listeners that a battery may or may not be present. SystemUI now wants to show an error battery state instead of a potentially misleading status in this situation. Bug: 169935148 Test: adb shell cmd battery set present 1 Change-Id: I7d576248bb9931059100facb67ca6b46e81e554e