Merge "Fixed an issue where notification groups could be empty" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8af0af88cc
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user