diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java index d731ba60fa647..7179ec9b1faf3 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java @@ -2021,10 +2021,10 @@ public class ExpandableNotificationRow extends ActivatableNotificationView private void updateChildrenVisibility() { boolean hideContentWhileLaunching = mExpandAnimationRunning && mGuts != null && mGuts.isExposed(); - mPrivateLayout.setVisibility(!shouldShowPublic() && !mIsSummaryWithChildren + mPrivateLayout.setVisibility(!mShowingPublic && !mIsSummaryWithChildren && !hideContentWhileLaunching ? VISIBLE : INVISIBLE); if (mChildrenContainer != null) { - mChildrenContainer.setVisibility(!shouldShowPublic() && mIsSummaryWithChildren + mChildrenContainer.setVisibility(!mShowingPublic && mIsSummaryWithChildren && !hideContentWhileLaunching ? VISIBLE : INVISIBLE); }