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() {
|
private void updateChildrenVisibility() {
|
||||||
boolean hideContentWhileLaunching = mExpandAnimationRunning && mGuts != null
|
boolean hideContentWhileLaunching = mExpandAnimationRunning && mGuts != null
|
||||||
&& mGuts.isExposed();
|
&& mGuts.isExposed();
|
||||||
mPrivateLayout.setVisibility(!shouldShowPublic() && !mIsSummaryWithChildren
|
mPrivateLayout.setVisibility(!mShowingPublic && !mIsSummaryWithChildren
|
||||||
&& !hideContentWhileLaunching ? VISIBLE : INVISIBLE);
|
&& !hideContentWhileLaunching ? VISIBLE : INVISIBLE);
|
||||||
if (mChildrenContainer != null) {
|
if (mChildrenContainer != null) {
|
||||||
mChildrenContainer.setVisibility(!shouldShowPublic() && mIsSummaryWithChildren
|
mChildrenContainer.setVisibility(!mShowingPublic && mIsSummaryWithChildren
|
||||||
&& !hideContentWhileLaunching ? VISIBLE
|
&& !hideContentWhileLaunching ? VISIBLE
|
||||||
: INVISIBLE);
|
: INVISIBLE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user