From 472290f79875b9b266f331b194ef274c72c8a213 Mon Sep 17 00:00:00 2001 From: Michal Brzezinski Date: Wed, 14 Apr 2021 16:57:15 +0000 Subject: [PATCH] Anchoring bottom of notifications scrim in split shade mode This is effectively changing animation of the notification scrim from expansion to fade in. Test: manual Bug: 185110525 Change-Id: If57866c004bb781294a860bb1dc66174c87becdc --- .../statusbar/phone/NotificationPanelViewController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java index 70ad0d8427d9e..6637b506dce96 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java @@ -2006,7 +2006,7 @@ public class NotificationPanelViewController extends PanelViewController { right = getView().getRight(); } else { top = Math.min(qsPanelBottomY, mSplitShadeNotificationsTopPadding); - bottom = getExpandedHeight() - mSplitShadeNotificationsTopPadding; + bottom = mNotificationStackScrollLayoutController.getHeight(); left = mNotificationStackScrollLayoutController.getLeft(); right = mNotificationStackScrollLayoutController.getRight(); }