Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4245c943 authored by Jeff DeCew's avatar Jeff DeCew Committed by Automerger Merge Worker
Browse files

Merge "Clean up the clipTopAmount to correct rounded corners for group...

Merge "Clean up the clipTopAmount to correct rounded corners for group summaries" into tm-qpr-dev am: 340e196b am: 339b776a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18530876



Change-Id: I881cff3da790cc2b8795c485914c4e0a63683f33
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents cd1353b2 339b776a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2075,6 +2075,13 @@ public class ExpandableNotificationRow extends ActivatableNotificationView

    public void applyLaunchAnimationParams(LaunchAnimationParameters params) {
        if (params == null) {
            // `null` params indicates the animation is over, which means we can't access
            // params.getParentStartClipTopAmount() which has the value we want to restore.
            // Fortunately, only NotificationShelf actually uses these values for anything other
            // than this launch animation, so we can restore the value to 0 and it's right for now.
            if (mNotificationParent != null) {
                mNotificationParent.setClipTopAmount(0);
            }
            return;
        }