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

Commit d6f49fe8 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am 790a604b: Merge change 6372 into donut

Merge commit '790a604b'

* commit '790a604b':
  Fixes #1963217. Increases the invalidate region in compatibility mode.
parents f93a7c88 790a604b
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -553,13 +553,16 @@ public final class ViewRoot extends Handler implements ViewParent,
        if (DEBUG_DRAW) Log.v(TAG, "Invalidate child: " + dirty);
        if (mCurScrollY != 0 || mTranslator != null) {
            mTempRect.set(dirty);
            dirty = mTempRect;
            if (mCurScrollY != 0) {
               mTempRect.offset(0, -mCurScrollY);
               dirty.offset(0, -mCurScrollY);
            }
            if (mTranslator != null) {
                mTranslator.translateRectInAppWindowToScreen(mTempRect);
                mTranslator.translateRectInAppWindowToScreen(dirty);
            }
            if (mAttachInfo.mScalingRequired) {
                dirty.inset(-1, -1);
            }
            dirty = mTempRect;
        }
        mDirty.union(dirty);
        if (!mWillDrawSoon) {