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

Commit 251faa62 authored by David Brown's avatar David Brown
Browse files

Display a helpful label for PROXIMITY_SCREEN_OFF_WAKE_LOCKs in the output

of "dumpsys power".
parent 98aed469
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -772,6 +772,8 @@ class PowerManagerService extends IPowerManager.Stub
                return "SCREEN_DIM_WAKE_LOCK          ";
            case PowerManager.PARTIAL_WAKE_LOCK:
                return "PARTIAL_WAKE_LOCK             ";
            case PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK:
                return "PROXIMITY_SCREEN_OFF_WAKE_LOCK";
            default:
                return "???                           ";
        }