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

Commit ede9ad62 authored by Kirill Grouchnikov's avatar Kirill Grouchnikov Committed by Android (Google) Code Review
Browse files

Merge "Enforce the contract laid out in Javadocs"

parents a8499cda c4d5e120
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -710,6 +710,7 @@ public class TableLayout extends LinearLayout {
         */
         */
        public LayoutParams(ViewGroup.LayoutParams p) {
        public LayoutParams(ViewGroup.LayoutParams p) {
            super(p);
            super(p);
            width = MATCH_PARENT;
        }
        }


        /**
        /**
@@ -717,6 +718,10 @@ public class TableLayout extends LinearLayout {
         */
         */
        public LayoutParams(MarginLayoutParams source) {
        public LayoutParams(MarginLayoutParams source) {
            super(source);
            super(source);
            width = MATCH_PARENT;
            if (source instanceof TableLayout.LayoutParams) {
                weight = ((TableLayout.LayoutParams) source).weight;
            }
        }
        }


        /**
        /**