Merge "Fixing notification clipping in split shade" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-06-08 10:12:47 +00:00
committed by Android (Google) Code Review

View File

@@ -2233,6 +2233,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();