Merge "Bring back buttons in dialogs. Bug #2390537"
This commit is contained in:
@@ -754,7 +754,7 @@ public class LinearLayout extends ViewGroup {
|
||||
maxHeight = Math.max(maxHeight, ascent + descent);
|
||||
}
|
||||
|
||||
if (useLargestChild) {
|
||||
if (useLargestChild && widthMode == MeasureSpec.AT_MOST) {
|
||||
mTotalLength = 0;
|
||||
|
||||
for (int i = 0; i < count; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user