am addc906f: Merge "Force clipping on layers that fail to be allocated" into jb-mr2-dev
* commit 'addc906f70ba24aa4b649fff7f98d88b96c8d808': Force clipping on layers that fail to be allocated
This commit is contained in:
@@ -13787,7 +13787,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
}
|
||||
|
||||
if ((flags & ViewGroup.FLAG_CLIP_CHILDREN) == ViewGroup.FLAG_CLIP_CHILDREN &&
|
||||
!useDisplayListProperties && layerType == LAYER_TYPE_NONE) {
|
||||
!useDisplayListProperties && cache == null) {
|
||||
if (offsetForScroll) {
|
||||
canvas.clipRect(sx, sy, sx + (mRight - mLeft), sy + (mBottom - mTop));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user