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

Commit 12271683 authored by Matt Buckley's avatar Matt Buckley
Browse files

Tie notifyFramePending to load reset more explicitly

Cleans up some logic around notifyFramePending sending the load change
hint; they should have always happened together but apparently weren't.

Bug: b/260663188
Test: manual
Change-Id: I7f643a31c9a6773426386bb3be2de59a4efd45ac
parent 7c5817e8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2323,7 +2323,6 @@ public final class ViewRootImpl implements ViewParent,
     */
    void notifyRendererOfFramePending() {
        if (mAttachInfo.mThreadedRenderer != null) {
            mAttachInfo.mThreadedRenderer.notifyCallbackPending();
            mAttachInfo.mThreadedRenderer.notifyFramePending();
        }
    }
+1 −0
Original line number Diff line number Diff line
@@ -475,6 +475,7 @@ void CanvasContext::stopDrawing() {
void CanvasContext::notifyFramePending() {
    ATRACE_CALL();
    mRenderThread.pushBackFrameCallback(this);
    sendLoadResetHint();
}

void CanvasContext::draw() {