Fixed a flicker when closing QS without notifications
Change-Id: I0ca13626a676d0adf427d95edd76dd1bd2228fdc Fixes: 28008271
This commit is contained in:
@@ -2084,7 +2084,9 @@ public class NotificationStackScrollLayout extends ViewGroup
|
||||
final ExpandableView firstChild = getFirstChildNotGone();
|
||||
int firstChildMinHeight = firstChild != null
|
||||
? firstChild.getIntrinsicHeight()
|
||||
: mCollapsedSize;
|
||||
: mEmptyShadeView != null
|
||||
? mEmptyShadeView.getMinHeight()
|
||||
: mCollapsedSize;
|
||||
if (mOwnScrollY > 0) {
|
||||
firstChildMinHeight = Math.max(firstChildMinHeight - mOwnScrollY, mCollapsedSize);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user