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

Commit 33041bd9 authored by Jeff Brown's avatar Jeff Brown
Browse files

Add debug message to help diagnose a presentation bug.

Bug: 10154780
Change-Id: I0e711a6316cb231ec48fc31d87b8cbd5d857c2f8
parent 7d00affc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -955,6 +955,11 @@ public final class DisplayManagerService extends IDisplayManager.Stub {
        synchronized (mSyncRoot) {
            LogicalDisplay display = mLogicalDisplays.get(displayId);
            if (display != null && display.hasContentLocked() != hasContent) {
                if (DEBUG) {
                    Slog.d(TAG, "Display " + displayId + " hasContent flag changed: "
                            + "hasContent=" + hasContent + ", inTraversal=" + inTraversal);
                }

                display.setHasContentLocked(hasContent);
                scheduleTraversalLocked(inTraversal);
            }