Merge "Fixing notification clipping in split shade" into sc-dev am: 43a7dd9b4b

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

Change-Id: I9affca2239d3185e7ee67cd763c8471e3c6049e4
This commit is contained in:
TreeHugger Robot
2021-06-08 10:18:48 +00:00
committed by Automerger Merge Worker

View File

@@ -2240,6 +2240,7 @@ public class NotificationPanelViewController extends PanelViewController {
left = 0;
right = getView().getRight() + mDisplayRightInset;
} else if (qsPanelBottomY > 0) { // so bounds are empty on lockscreen
mAmbientState.setNotificationScrimTop(mSplitShadeNotificationsTopPadding);
top = Math.min(qsPanelBottomY, mSplitShadeNotificationsTopPadding);
bottom = mNotificationStackScrollLayoutController.getHeight();
left = mNotificationStackScrollLayoutController.getLeft();