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

Commit da89e571 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio Committed by Android (Google) Code Review
Browse files

Merge "Code cleaning"

parents aba28e7f d794acaa
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -12028,14 +12028,15 @@ public class View implements Drawable.Callback2, KeyEvent.Callback, Accessibilit
        mPrivateFlags |= FORCE_LAYOUT;
        mPrivateFlags |= INVALIDATED;

        if (mLayoutParams != null && mParent != null) {
        if (mParent != null) {
            if (mLayoutParams != null) {
                mLayoutParams.resolveWithDirection(getResolvedLayoutDirection());
            }

        if (mParent != null && !mParent.isLayoutRequested()) {
            if (!mParent.isLayoutRequested()) {
                mParent.requestLayout();
            }
        }
    }

    /**
     * Forces this view to be laid out during the next layout pass.