Merge "Fixed an issue where the notification scrim could become transparent" into sc-dev

This commit is contained in:
Selim Cinek
2021-06-07 09:34:20 +00:00
committed by Android (Google) Code Review

View File

@@ -2226,6 +2226,8 @@ public class NotificationPanelViewController extends PanelViewController {
left = mNotificationStackScrollLayoutController.getLeft();
right = mNotificationStackScrollLayoutController.getRight();
}
// top should never be lower than bottom, otherwise it will be invisible.
top = Math.min(top, bottom);
applyQSClippingBounds(left, top, right, bottom, visible);
}