summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Michal Brzezinski <brzezinski@google.com> 2021-04-14 16:57:15 +0000
committer Michal Brzezinski <brzezinski@google.com> 2021-04-15 10:07:35 +0000
commit472290f79875b9b266f331b194ef274c72c8a213 (patch)
tree6308f855afb03cdc80b7a92516f44c1d43f830ff
parent1695f185b73bc35173be2d2249799a00ca79700f (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java2
1 files changed, 1 insertions, 1 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 70ad0d8427d9..6637b506dce9 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java
@@ -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();
}