Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationViewHierarchyManager.java +5 −2 Original line number Original line Diff line number Diff line Loading @@ -184,8 +184,11 @@ public class NotificationViewHierarchyManager implements DynamicPrivacyControlle mLowPriorityInflationHelper.recheckLowPriorityViewAndInflate(ent, ent.getRow()); mLowPriorityInflationHelper.recheckLowPriorityViewAndInflate(ent, ent.getRow()); boolean isChildInGroup = mGroupManager.isChildInGroupWithSummary(ent.getSbn()); boolean isChildInGroup = mGroupManager.isChildInGroupWithSummary(ent.getSbn()); boolean groupChangesAllowed = mVisualStabilityManager.areGroupChangesAllowed() boolean groupChangesAllowed = || !ent.hasFinishedInitialization(); mVisualStabilityManager.areGroupChangesAllowed() // user isn't looking at notifs || !ent.hasFinishedInitialization() // notif recently added || !mListContainer.containsView(ent.getRow()); // notif recently unfiltered NotificationEntry parent = mGroupManager.getGroupSummary(ent.getSbn()); NotificationEntry parent = mGroupManager.getGroupSummary(ent.getSbn()); if (!groupChangesAllowed) { if (!groupChangesAllowed) { // We don't to change groups while the user is looking at them // We don't to change groups while the user is looking at them Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationViewHierarchyManager.java +5 −2 Original line number Original line Diff line number Diff line Loading @@ -184,8 +184,11 @@ public class NotificationViewHierarchyManager implements DynamicPrivacyControlle mLowPriorityInflationHelper.recheckLowPriorityViewAndInflate(ent, ent.getRow()); mLowPriorityInflationHelper.recheckLowPriorityViewAndInflate(ent, ent.getRow()); boolean isChildInGroup = mGroupManager.isChildInGroupWithSummary(ent.getSbn()); boolean isChildInGroup = mGroupManager.isChildInGroupWithSummary(ent.getSbn()); boolean groupChangesAllowed = mVisualStabilityManager.areGroupChangesAllowed() boolean groupChangesAllowed = || !ent.hasFinishedInitialization(); mVisualStabilityManager.areGroupChangesAllowed() // user isn't looking at notifs || !ent.hasFinishedInitialization() // notif recently added || !mListContainer.containsView(ent.getRow()); // notif recently unfiltered NotificationEntry parent = mGroupManager.getGroupSummary(ent.getSbn()); NotificationEntry parent = mGroupManager.getGroupSummary(ent.getSbn()); if (!groupChangesAllowed) { if (!groupChangesAllowed) { // We don't to change groups while the user is looking at them // We don't to change groups while the user is looking at them Loading