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

Commit 7c8aea62 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't set mNextDrawUseBlastSync when hardware is not enabled" into sc-dev

parents 20953edc 7c514743
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3209,8 +3209,10 @@ public final class ViewRootImpl implements ViewParent,
                Log.d(mTag, "Relayout called with blastSync");
            }
            reportNextDraw();
            if (isHardwareEnabled()) {
                mNextDrawUseBlastSync = true;
            }
        }

        boolean cancelDraw = mAttachInfo.mTreeObserver.dispatchOnPreDraw() || !isViewVisible;