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

Commit 567e4479 authored by Alan Viverette's avatar Alan Viverette
Browse files

Fix alignParentRight/End in RelativeLayout

BUG: 17136816
Change-Id: If7edb2e0216384429f4caf7e9aae01c09ddd8be4
parent 9e4329ea
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