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

Commit b5817779 authored by Alan Viverette's avatar Alan Viverette
Browse files

DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure

Bug: 22824701
Bug: 25107144
Change-Id: Ia0afd3edc20b8127605aef2653fa9b5472f41be2
(cherry picked from commit 130ce740)
parent 840f3890
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -704,7 +704,7 @@ public class RelativeLayout extends ViewGroup {
            }
            }


            final int heightMode;
            final int heightMode;
            if (params.width == LayoutParams.MATCH_PARENT) {
            if (params.height == LayoutParams.MATCH_PARENT) {
                heightMode = MeasureSpec.EXACTLY;
                heightMode = MeasureSpec.EXACTLY;
            } else {
            } else {
                heightMode = MeasureSpec.AT_MOST;
                heightMode = MeasureSpec.AT_MOST;