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
This commit is contained in:
Michal Brzezinski
2021-04-14 16:57:15 +00:00
parent 1695f185b7
commit 472290f798

View File

@@ -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();
}