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

am: 8af0af88cc

Change-Id: I46d9457594c762a6dce22f1f366f3abc191b11d6
This commit is contained in:
Selim Cinek
2019-05-23 15:52:01 -07:00
committed by android-build-merger

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