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

Commit cf38b0ce authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Correctly check bottom padding in setPadding()."

parents 46709f13 13f35f3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1975,7 +1975,7 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
    public void setPadding(int left, int top, int right, int bottom) {
        super.setPadding(left, top, right, bottom);

        if ((mPaddingLeft | mPaddingTop | mPaddingRight | mPaddingRight) != 0) {
        if ((mPaddingLeft | mPaddingTop | mPaddingRight | mPaddingBottom) != 0) {
            mGroupFlags |= FLAG_PADDING_NOT_NULL;
        } else {
            mGroupFlags &= ~FLAG_PADDING_NOT_NULL;