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

This commit is contained in:
Mady Mellor
2016-06-17 17:22:34 +00:00
committed by Android (Google) Code Review

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 {