Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a8447ff authored by Eric Lin's avatar Eric Lin
Browse files

PowerManager: Add WAKE_REASON_LID to @WakeReason values.

This change adds the WAKE_REASON_LID constant to the @WakeReason
value list. It fixes an unexpected constant warning in
PowerManager#wakeReasonToString.

Change-Id: I2483c7791446fef2b7a49060e44459a7fa69d71f
BUG: 387193964 
Flag: EXEMPT refactor
Test: Local build
parent 271ede58
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -615,6 +615,7 @@ public final class PowerManager {
            WAKE_REASON_WAKE_KEY,
            WAKE_REASON_WAKE_MOTION,
            WAKE_REASON_HDMI,
            WAKE_REASON_LID,
            WAKE_REASON_DISPLAY_GROUP_ADDED,
            WAKE_REASON_DISPLAY_GROUP_TURNED_ON,
            WAKE_REASON_UNFOLD_DEVICE,