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

Commit 7d695945 authored by Romain Guy's avatar Romain Guy Committed by Romain Guy
Browse files

Skip DIRTY_OPAQUE optimizations when ViewRoot changes the dirty region.

Bug #3159481

Change-Id: I97d6517f4648b3efe8b13a277e0374844a4d8455
parent 23fe0ce4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -586,6 +586,9 @@ public final class ViewRoot extends Handler implements ViewParent,
                dirty.inset(-1, -1);
            }
        }
        if (!mDirty.isEmpty()) {
            mAttachInfo.mIgnoreDirtyState = true;
        }
        mDirty.union(dirty);
        if (!mWillDrawSoon) {
            scheduleTraversals();