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

Commit e24ef603 authored by Romain Guy's avatar Romain Guy
Browse files

Fixes #1940605. RelativeLayout was swapping horizontal and vertical

dependencies.
parent a7251991
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -343,7 +343,7 @@ public class RelativeLayout extends ViewGroup {
            ignore = findViewById(mIgnoreGravity);
        }

        View[] views = mSortedVerticalChildren;
        View[] views = mSortedHorizontalChildren;
        int count = views.length;
        for (int i = 0; i < count; i++) {
            View child = views[i];
@@ -356,7 +356,7 @@ public class RelativeLayout extends ViewGroup {
            }
        }

        views = mSortedHorizontalChildren;
        views = mSortedVerticalChildren;
        count = views.length;
        for (int i = 0; i < count; i++) {
            View child = views[i];