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

Commit f0ef76c9 authored by Fiona Campbell's avatar Fiona Campbell
Browse files

Add logging to screenonunblocker

- Add logging after windowmanager call resolves so that we can know the
  duration between "Blocking screen on/off..." and the end of the WM
  call. So that we can identify if / where any delays pop up

Bug: 324374971
Flag: EXEMPT solely a logging addition
Test: atest DisplayManagerServiceTests, logcat
Change-Id: I021c5531184e66de7afe56d3aac503d5a4d2f648
parent 61dfb4a0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2242,6 +2242,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
                unblockScreenOn();
            }
            mWindowManagerPolicy.screenTurningOn(mDisplayId, mPendingScreenOnUnblocker);
            Slog.i(TAG, "Window Manager Policy screenTurningOn complete");
        }

        // Return true if the screen isn't blocked.