Merge "Don't draw with invalid display lists Bug #10301674" into klp-dev
This commit is contained in:
@@ -1449,7 +1449,7 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
}
|
}
|
||||||
|
|
||||||
DisplayList displayList = mView.mDisplayList;
|
DisplayList displayList = mView.mDisplayList;
|
||||||
if (displayList != null) {
|
if (displayList != null && displayList.isValid()) {
|
||||||
layerCanvas.drawDisplayList(displayList, null,
|
layerCanvas.drawDisplayList(displayList, null,
|
||||||
DisplayList.FLAG_CLIP_CHILDREN);
|
DisplayList.FLAG_CLIP_CHILDREN);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user