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

Commit cf70dcb0 authored by Romain Guy's avatar Romain Guy
Browse files

Fix typo bug in FrameLayout's measurement code.

Bug #3327185

Change-Id: If9a897efd8766b158749d053dabee3477bf1b053
parent 171c592f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@ public class FrameLayout extends ViewGroup {
                            mPaddingTop - mPaddingBottom - lp.topMargin - lp.bottomMargin,
                            MeasureSpec.EXACTLY);
                } else {
                    childHeightMeasureSpec = getChildMeasureSpec(widthMeasureSpec,
                    childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec,
                            mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin,
                            lp.height);
                }