From b96924ddbf5283954f6f0f3af599844be1da1384 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Mon, 12 May 2014 15:11:25 +0200 Subject: [PATCH] Corrected top stack logic of notifications again. Change-Id: Ibf514f6ed446574ebe0bf7cfed692197123384f3 --- .../android/systemui/statusbar/stack/StackScrollAlgorithm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7306c83e6abed..bd9de8270c685 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java @@ -82,7 +82,7 @@ public class StackScrollAlgorithm { mTopStackIndentationFunctor = new PiecewiseLinearIndentationFunctor( MAX_ITEMS_IN_TOP_STACK, mTopStackPeekSize, - mTopStackTotalSize, + mTopStackTotalSize - mTopStackPeekSize, 0.5f); mBottomStackIndentationFunctor = new PiecewiseLinearIndentationFunctor( MAX_ITEMS_IN_BOTTOM_STACK,