Merge "Fixed a crash with min-priority notifications in a group" into nyc-dev
This commit is contained in:
@@ -2184,9 +2184,8 @@ public abstract class BaseStatusBar extends SystemUI implements
|
|||||||
== View.VISIBLE;
|
== View.VISIBLE;
|
||||||
boolean showOnKeyguard = shouldShowOnKeyguard(entry.notification);
|
boolean showOnKeyguard = shouldShowOnKeyguard(entry.notification);
|
||||||
if (suppressedSummary || (isLockscreenPublicMode() && !mShowLockscreenNotifications) ||
|
if (suppressedSummary || (isLockscreenPublicMode() && !mShowLockscreenNotifications) ||
|
||||||
(onKeyguard && (visibleNotifications >= maxNotifications
|
(onKeyguard && !childWithVisibleSummary
|
||||||
&& !childWithVisibleSummary
|
&& (visibleNotifications >= maxNotifications || !showOnKeyguard))) {
|
||||||
|| !showOnKeyguard))) {
|
|
||||||
entry.row.setVisibility(View.GONE);
|
entry.row.setVisibility(View.GONE);
|
||||||
if (onKeyguard && showOnKeyguard && !childNotification && !suppressedSummary) {
|
if (onKeyguard && showOnKeyguard && !childNotification && !suppressedSummary) {
|
||||||
mKeyguardIconOverflowContainer.getIconsView().addNotification(entry);
|
mKeyguardIconOverflowContainer.getIconsView().addNotification(entry);
|
||||||
|
|||||||
@@ -823,11 +823,6 @@ public class StackStateAnimator {
|
|||||||
// The position for this child was never generated, let's continue.
|
// The position for this child was never generated, let's continue.
|
||||||
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);
|
finalState.applyState(changingView, viewState);
|
||||||
mNewAddChildren.add(changingView);
|
mNewAddChildren.add(changingView);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user