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

Commit ad0eacb9 authored by Filip Gruszczynski's avatar Filip Gruszczynski Committed by Android (Google) Code Review
Browse files

Merge "Provide size hint inside UNSPECIFIED measure spec."

parents cdf0a97f 415ab1ab
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5727,12 +5727,12 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
            } else if (childDimension == LayoutParams.MATCH_PARENT) {
                // Child wants to be our size... find out how big it should
                // be
                resultSize = 0;
                resultSize = size;
                resultMode = MeasureSpec.UNSPECIFIED;
            } else if (childDimension == LayoutParams.WRAP_CONTENT) {
                // Child wants to determine its own size.... find out how
                // big it should be
                resultSize = 0;
                resultSize = size;
                resultMode = MeasureSpec.UNSPECIFIED;
            }
            break;