Skip to content

Commit e2c6d77

Browse files
dsandlerAndroid (Google) Code Review
authored andcommitted
Merge "Fix 1U notifications." into jb-dev
2 parents 70334ac + 030243a commit e2c6d77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -539,14 +539,14 @@ protected boolean inflateViews(NotificationData.Entry entry, ViewGroup parent)
539539
if (expandedOneU != null) {
540540
SizeAdaptiveLayout.LayoutParams params =
541541
new SizeAdaptiveLayout.LayoutParams(expandedOneU.getLayoutParams());
542-
params.minHeight = minHeight;
543-
params.maxHeight = minHeight;
542+
params.minHeight = rowHeight;
543+
params.maxHeight = rowHeight;
544544
adaptive.addView(expandedOneU, params);
545545
}
546546
if (expandedLarge != null) {
547547
SizeAdaptiveLayout.LayoutParams params =
548548
new SizeAdaptiveLayout.LayoutParams(expandedLarge.getLayoutParams());
549-
params.minHeight = minHeight+1;
549+
params.minHeight = rowHeight+1;
550550
params.maxHeight = maxHeight;
551551
adaptive.addView(expandedLarge, params);
552552
}

0 commit comments

Comments
 (0)