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

Commit 637854c9 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 9512

* changes:
  Display a helpful label for PROXIMITY_SCREEN_OFF_WAKE_LOCKs in the output of "dumpsys power".
parents c04271b7 251faa62
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 "???                           ";
        }