Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b4680d6 authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

Merge "Fixed a crash with min-priority notifications in a group" into nyc-dev

am: 3e04c564

* commit '3e04c564':
  Fixed a crash with min-priority notifications in a group

Change-Id: Ied5a5dda2babecea1392dc2f065810cfe060ed8c
parents bdff78d9 3e04c564
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2188,9 +2188,8 @@ public abstract class BaseStatusBar extends SystemUI implements
                    == View.VISIBLE;
            boolean showOnKeyguard = shouldShowOnKeyguard(entry.notification);
            if (suppressedSummary || (isLockscreenPublicMode() && !mShowLockscreenNotifications) ||
                    (onKeyguard && (visibleNotifications >= maxNotifications
                            && !childWithVisibleSummary
                            || !showOnKeyguard))) {
                    (onKeyguard && !childWithVisibleSummary
                            && (visibleNotifications >= maxNotifications || !showOnKeyguard))) {
                entry.row.setVisibility(View.GONE);
                if (onKeyguard && showOnKeyguard && !childNotification && !suppressedSummary) {
                    mKeyguardIconOverflowContainer.getIconsView().addNotification(entry);
+0 −5
Original line number Diff line number Diff line
@@ -823,11 +823,6 @@ public class StackStateAnimator {
                    // The position for this child was never generated, let's continue.
                    continue;
                }
                if (changingView.getVisibility() == View.GONE) {
                    // The view was set to gone but the state never removed
                    finalState.removeViewStateForView(changingView);
                    continue;
                }
                finalState.applyState(changingView, viewState);
                mNewAddChildren.add(changingView);