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

Commit 94e94210 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am a1fb3950: Merge change 5394 into donut

Merge commit 'a1fb3950'

* commit 'a1fb3950':
  Fixes #1940605. RelativeLayout was swapping horizontal and vertical
parents 2bdd7d81 a1fb3950
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];