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

Commit 6ad5d69d authored by Michael Jurka's avatar Michael Jurka Committed by Android Git Automerger
Browse files

am 0a232673: am bf378fd7: Don\'t allow screen invalidations to go outside bounds of screen

* commit '0a232673':
  Don't allow screen invalidations to go outside bounds of screen
parents 8857f669 0a232673
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -811,6 +811,8 @@ public abstract class HardwareRenderer {
            if (canDraw()) {
                if (!hasDirtyRegions()) {
                    dirty = null;
                } else if (dirty != null) {
                    dirty.intersect(0, 0, mWidth, mHeight);
                }
                attachInfo.mIgnoreDirtyState = true;
                attachInfo.mDrawingTime = SystemClock.uptimeMillis();