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

Commit 0a232673 authored by Michael Jurka's avatar Michael Jurka Committed by Android Git Automerger
Browse files

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

* commit 'bf378fd7':
  Don't allow screen invalidations to go outside bounds of screen
parents ce980d8e bf378fd7
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();