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

Commit 285d0932 authored by Chet Haase's avatar Chet Haase Committed by Android Git Automerger
Browse files

am 6f3e7bbf: Merge "Fix for previous commit on non-interesecting invalidations" into jb-mr1-dev

* commit '6f3e7bbf':
  Fix for previous commit on non-interesecting invalidations
parents 6763bfe4 6f3e7bbf
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -888,9 +888,10 @@ public final class ViewRootImpl implements ViewParent,
        // updates that lie outside of the visible region
        final float appScale = mAttachInfo.mApplicationScale;
        if (localDirty.intersect(0, 0,
                (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)) &&
                !mWillDrawSoon) {
                (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f))) {
            if (!mWillDrawSoon) {
                scheduleTraversals();
            }
        } else {
            localDirty.setEmpty();
        }