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

Commit 5f1319c4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14091169

Change-Id: I4798082eecfc7156250ce39846b0b799098b7d54
parents c55b197f 7c8aea62
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;