Merge "Fix yet another clipTopAmount usage" into tm-dev am: 2d3b1c2719
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18748142 Change-Id: I069fb234ce4934d16a266010501ca154aeb30e44 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1668,7 +1668,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable
|
||||
continue;
|
||||
}
|
||||
float childTop = slidingChild.getTranslationY();
|
||||
float top = childTop + slidingChild.getClipTopAmount();
|
||||
float top = childTop + Math.max(0, slidingChild.getClipTopAmount());
|
||||
float bottom = childTop + slidingChild.getActualHeight()
|
||||
- slidingChild.getClipBottomAmount();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user