From 8d5727f6e93bec98f7de622583d0c2b70fa750b6 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Tue, 28 Apr 2015 19:17:32 -0700 Subject: Fixed a bug where the notifications would jump when going to the full shade Change-Id: I811f3cd543f0e69d06bfe692435c579b7844173e --- .../src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java index 202063a..de28ac7 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java @@ -582,7 +582,7 @@ public class StackScrollAlgorithm { return row.getIntrinsicHeight(); } else if (child instanceof ExpandableView) { ExpandableView expandableView = (ExpandableView) child; - return expandableView.getActualHeight(); + return expandableView.getIntrinsicHeight(); } return child == null? mCollapsedSize : child.getHeight(); } -- cgit v1.1