From 4389e2ab7d03fba0dd34c6dd14359d7cec116d9b Mon Sep 17 00:00:00 2001 From: Jeff DeCew Date: Thu, 11 Mar 2021 16:55:38 -0500 Subject: [PATCH] Fix expanded state bug Bug: 181048615 Test: notify: add group, delay on, update (parent), open shade, expand group; notice expander stays expanded Change-Id: I3b7a5fed34aa73950182a81050be655c906d0bf2 --- .../notification/stack/NotificationChildrenContainer.java | 1 + 1 file changed, 1 insertion(+) 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 2b194ba158168..f65ae0c393316 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 @@ -337,6 +337,7 @@ public class NotificationChildrenContainer extends ViewGroup { } else { header.reapply(getContext(), mNotificationHeader); } + mNotificationHeaderWrapper.setExpanded(mChildrenExpanded); mNotificationHeaderWrapper.onContentUpdated(mContainingNotification); if (mNotificationHeaderWrapper instanceof NotificationHeaderViewWrapper) { NotificationHeaderViewWrapper headerWrapper =