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

Commit f673689d authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Reset the dirty region after drawing in hardware."

parents e06be941 fd507260
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1280,8 +1280,9 @@ public final class ViewRoot extends Handler implements ViewParent, View.AttachIn
        }
        
        if (mAttachInfo.mHardwareRenderer != null && mAttachInfo.mHardwareRenderer.isEnabled()) {
            if (!dirty.isEmpty()) {
            if (!dirty.isEmpty() || mIsAnimating) {
                mAttachInfo.mHardwareRenderer.draw(mView, mAttachInfo, yoff);
                dirty.setEmpty();
            }

            if (scrolling) {