Fix the build
Change-Id: I9c79677ee4f68d6fc82b754d08e701229725c2a6
This commit is contained in:
@ -669,7 +669,7 @@ public class LinearLayout extends ViewGroup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams();
|
LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams();
|
||||||
lp.onResolveLayoutDirection(layoutDirection);
|
lp.resolveLayoutDirection(layoutDirection);
|
||||||
|
|
||||||
totalWeight += lp.weight;
|
totalWeight += lp.weight;
|
||||||
|
|
||||||
@ -1014,7 +1014,7 @@ public class LinearLayout extends ViewGroup {
|
|||||||
|
|
||||||
final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams)
|
final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams)
|
||||||
child.getLayoutParams();
|
child.getLayoutParams();
|
||||||
lp.onResolveLayoutDirection(layoutDirection);
|
lp.resolveLayoutDirection(layoutDirection);
|
||||||
|
|
||||||
totalWeight += lp.weight;
|
totalWeight += lp.weight;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user