From 5dfe25908d75097bd60512c17548eb48c1cb5ef3 Mon Sep 17 00:00:00 2001 From: Lyn Han Date: Thu, 1 Jul 2021 20:10:08 -0500 Subject: [PATCH] Round bottom corners for notif before shelf after swipe ends Fixes: 190065176 Test: swipe then snapback notif before shelf => notif bottom corners instantly round Change-Id: Ia91495515f57e05af5bc6508684890cba1c72f97 --- .../notification/stack/NotificationStackScrollLayout.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java index c640714321b7d..a4960bb44681d 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java @@ -5265,6 +5265,8 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable mController.getNoticationRoundessManager() .setViewsAffectedBySwipe(null, null, null, getResources().getBoolean(R.bool.flag_notif_updates)); + // Round bottom corners for notification right before shelf. + mShelf.updateAppearance(); } void setTopHeadsUpEntry(NotificationEntry topEntry) {