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

Commit d794acaa authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Code cleaning

- this was a bit ugly, isnt it?

Change-Id: Ic479c180977d73d333afed7696b2920840d92abf
parent 44b578aa
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.