Merge "Fixed an issue where notification groups could be empty" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-05-23 22:04:21 +00:00
committed by Android (Google) Code Review

View File

@@ -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);
}