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

Commit 54509d5a authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Fix alignParentRight/End in RelativeLayout" into lmp-dev

parents 3ec10e72 567e4479
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1501,7 +1501,7 @@ public class RelativeLayout extends ViewGroup {
                    mRules[ALIGN_PARENT_START] = 0;
                }

                if (mRules[ALIGN_PARENT_RIGHT] == 0) {
                if (mRules[ALIGN_PARENT_END] != 0) {
                    if (mRules[ALIGN_PARENT_RIGHT] == 0) {
                        // "right" rule is not defined but "end" rule is: use the "end" rule as the
                        // "right" rule