summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2021-06-08 10:12:47 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-06-08 10:12:47 +0000
commit43a7dd9b4b0de9a4e775422cebc8f282cbaf5502 (patch)
tree6075ab1b71a72b7ec1ed895818fa10ad1b0d2ad1
parent0d7e12906687b7a77742824492eca2528bd9e9c4 (diff)
parent799dc290a30207d7e055038c1143b134fb2f1ec7 (diff)
Merge "Fixing notification clipping in split shade" into sc-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java1
1 files changed, 1 insertions, 0 deletions
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 336cbdc8a63d..32b3e51076d3 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java
@@ -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();