Merge \"Fix shade background not aligning with bottom of a group\" into nyc-dev

am: 4f9404f6f2

Change-Id: I50aab94c497af12a3f2d3522425ddd850c2e3793
This commit is contained in:
Mady Mellor
2016-06-17 17:26:54 +00:00
committed by android-build-merger

View File

@@ -1961,8 +1961,7 @@ public class NotificationStackScrollLayout extends ViewGroup
// we're ending up at the same location as we are now, lets just skip the animation
bottom = finalBottom;
} else {
bottom = (int) (lastView.getTranslationY() + lastView.getActualHeight()
- lastView.getExtraBottomPadding());
bottom = (int) (lastView.getTranslationY() + lastView.getActualHeight());
bottom = Math.min(bottom, getHeight());
}
} else {