Merge "Fixing jumping HUN when starting swiping" into tm-qpr-dev am: f58ce4e927
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20513645 Change-Id: I3470579c9221f2aa7a3f5c3b1e0d69125612130b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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