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

Commit a12aaa75 authored by Adam Powell's avatar Adam Powell
Browse files

Add a missing condition when checking measurement for ActionBarContainer

It even said "non-tab" right there.

Bug 17202141

Change-Id: Iacc7ec9610d2639aab59dd57ba7194178fb6391f
parent 13c3d962
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -272,6 +272,9 @@ public class ActionBarContainer extends FrameLayout {
        final int childCount = getChildCount();
        for (int i = 0; i < childCount; i++) {
            final View child = getChildAt(i);
            if (child == mTabContainer) {
                continue;
            }
            final LayoutParams lp = (LayoutParams) child.getLayoutParams();
            nonTabMaxHeight = isCollapsed(child) ? 0 :
                    child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin;