summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Lyn <lynhan@google.com> 2024-09-20 20:50:48 +0000
committer Lyn <lynhan@google.com> 2024-09-20 20:50:48 +0000
commit5775c39cc96e67b4c56fc5e80a462c70d9b9a472 (patch)
treecc57d1596d87b550f674c422fdde22fdd694bb74
parentca24932237331dd06d68325dbbf6841e204b6413 (diff)
Fix divider showing when children appear
Fixes: 316155318 Test: send group, send delayed children, open shade => see that divider lines do not show when child notifs animate in Flag: EXEMPT bugfix Change-Id: I7be45d8d4ee0de2a62be35d8904819685295199f
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationChildrenContainer.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationChildrenContainer.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationChildrenContainer.java
index 48796d8f8f2d..b1083888ca7f 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationChildrenContainer.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationChildrenContainer.java
@@ -634,8 +634,10 @@ public class NotificationChildrenContainer extends ViewGroup
}
private View inflateDivider() {
- return LayoutInflater.from(mContext).inflate(
+ View divider = LayoutInflater.from(mContext).inflate(
R.layout.notification_children_divider, this, false);
+ divider.setAlpha(0f);
+ return divider;
}
/**