Skip to content

Commit 030243a

Browse files
committed
Fix 1U notifications.
Bug: 6502730 Change-Id: I057b7ac038354c68e45b0a85c44511b2af16b9ab
1 parent 0749e8e commit 030243a

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)