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

* commit '0a232673370989f54e05fd2508ce90267a54abd1':
  Don't allow screen invalidations to go outside bounds of screen
This commit is contained in:
Michael Jurka
2012-02-23 08:09:59 -08:00
committed by Android Git Automerger

View File

@@ -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();