am bf378fd7: Don\'t allow screen invalidations to go outside bounds of screen
* commit 'bf378fd7d7a91085685fe9e5528b84c485041c77': Don't allow screen invalidations to go outside bounds of screen
This commit is contained in:
@@ -811,6 +811,8 @@ public abstract class HardwareRenderer {
|
|||||||
if (canDraw()) {
|
if (canDraw()) {
|
||||||
if (!hasDirtyRegions()) {
|
if (!hasDirtyRegions()) {
|
||||||
dirty = null;
|
dirty = null;
|
||||||
|
} else if (dirty != null) {
|
||||||
|
dirty.intersect(0, 0, mWidth, mHeight);
|
||||||
}
|
}
|
||||||
attachInfo.mIgnoreDirtyState = true;
|
attachInfo.mIgnoreDirtyState = true;
|
||||||
attachInfo.mDrawingTime = SystemClock.uptimeMillis();
|
attachInfo.mDrawingTime = SystemClock.uptimeMillis();
|
||||||
|
|||||||
Reference in New Issue
Block a user