Merge "Fixing jumping HUN when starting swiping" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f58ce4e927
@@ -1553,7 +1553,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable
|
|||||||
final int pinnedHeight = firstVisibleSection != null
|
final int pinnedHeight = firstVisibleSection != null
|
||||||
? firstVisibleSection.getFirstVisibleChild().getPinnedHeadsUpHeight()
|
? firstVisibleSection.getFirstVisibleChild().getPinnedHeadsUpHeight()
|
||||||
: 0;
|
: 0;
|
||||||
return mHeadsUpInset + pinnedHeight;
|
return mHeadsUpInset - mAmbientState.getStackTopMargin() + pinnedHeight;
|
||||||
}
|
}
|
||||||
return getMinExpansionHeight();
|
return getMinExpansionHeight();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user