Skip to content

Commit f6215e5

Browse files
author
Fabrice Di Meglio
committed
Fix the build
Change-Id: I9c79677ee4f68d6fc82b754d08e701229725c2a6
1 parent b2d5522 commit f6215e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/java/android/widget/LinearLayout.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ void measureVertical(int widthMeasureSpec, int heightMeasureSpec) {
669669
}
670670

671671
LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams();
672-
lp.onResolveLayoutDirection(layoutDirection);
672+
lp.resolveLayoutDirection(layoutDirection);
673673

674674
totalWeight += lp.weight;
675675

@@ -1014,7 +1014,7 @@ void measureHorizontal(int widthMeasureSpec, int heightMeasureSpec) {
10141014

10151015
final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams)
10161016
child.getLayoutParams();
1017-
lp.onResolveLayoutDirection(layoutDirection);
1017+
lp.resolveLayoutDirection(layoutDirection);
10181018

10191019
totalWeight += lp.weight;
10201020

0 commit comments

Comments
 (0)