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

Commit 4de35e14 authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "Override not drawing to screen when screen is off."

parents 8dc8a435 006f0e41
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1919,7 +1919,9 @@ public final class ViewRootImpl implements ViewParent,
    }

    private void performDraw() {
        if (!mAttachInfo.mScreenOn) return;
        if (!mAttachInfo.mScreenOn && !mReportNextDraw) {
            return;
        }

        final long drawStartTime;
        if (ViewDebug.DEBUG_LATENCY) {