am cb039124: Merge "Don\'t draw with invalid display lists Bug #10301674" into klp-dev

* commit 'cb039124c145f95bd46fa6c84b585fbad88cf036':
  Don't draw with invalid display lists Bug #10301674
This commit is contained in:
Romain Guy
2013-09-04 14:21:05 -07:00
committed by Android Git Automerger

View File

@@ -1449,7 +1449,7 @@ public final class ViewRootImpl implements ViewParent,
}
DisplayList displayList = mView.mDisplayList;
if (displayList != null) {
if (displayList != null && displayList.isValid()) {
layerCanvas.drawDisplayList(displayList, null,
DisplayList.FLAG_CLIP_CHILDREN);
} else {