Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81defc6a authored by Chris Craik's avatar Chris Craik Committed by Android (Google) Code Review
Browse files

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

parents e47dc360 2180ba7a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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) {