Merge "Sync ViewOverlay size init with RenderNode" into lmp-mr1-dev

This commit is contained in:
Chris Craik
2014-12-02 16:59:19 +00:00
committed by Android (Google) Code Review

View File

@@ -130,8 +130,11 @@ public class ViewOverlay {
super(context);
mHostView = hostView;
mAttachInfo = mHostView.mAttachInfo;
mRight = hostView.getWidth();
mBottom = hostView.getHeight();
// pass right+bottom directly to RenderNode, since not going through setters
mRenderNode.setLeftTopRightBottom(0, 0, mRight, mBottom);
}
public void add(Drawable drawable) {