Skip to content

Commit 093d12f

Browse files
inthewavesthestinger
authored andcommitted
[temporary] SystemUI: add mBatteryDead to KeyguardIndicationController
In the stock OS image for July 2025, a boolean mBatteryDead field was added to com.android.systemui.statusbar.KeyguardIndicationController. There are no other changes to this AOSP class; everything else involving mBatteryDead is done in the Google-specific com.google.android.systemui.statusbar.KeyguardIndicationControllerGoogle class, and we handle in a subsequent commit. It's likely this will conflict with future AOSP tags since this is a modification to an AOSP class, hence the [temporary] tag. This commit should be dropped when the tags get pushed and this field is added to the class upstream.
1 parent de488eb commit 093d12f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ public class KeyguardIndicationController {
226226
private int mBatteryLevel = -1;
227227
private boolean mBatteryPresent = true;
228228
protected long mChargingTimeRemaining;
229+
/** Added in July 2025 patch, might conflict when tags get pushed */
230+
protected boolean mBatteryDead;
229231
private Pair<String, BiometricSourceType> mBiometricErrorMessageToShowOnScreenOn;
230232
private Set<Integer> mCoExFaceAcquisitionMsgIdsToShow;
231233
private final FaceHelpMessageDeferral mFaceAcquiredMessageDeferral;

0 commit comments

Comments
 (0)