Merge "Allow group changes for newly visible notifs" into rvc-dev am: 71e343bd55 am: 8308b97d7d am: 17b8b95ef5 am: 439d4b32e5
Change-Id: Ie910af1a4b27a746fe17e92c25fb92f84fd15a28
This commit is contained in:
@@ -184,8 +184,11 @@ public class NotificationViewHierarchyManager implements DynamicPrivacyControlle
|
||||
mLowPriorityInflationHelper.recheckLowPriorityViewAndInflate(ent, ent.getRow());
|
||||
boolean isChildInGroup = mGroupManager.isChildInGroupWithSummary(ent.getSbn());
|
||||
|
||||
boolean groupChangesAllowed = mVisualStabilityManager.areGroupChangesAllowed()
|
||||
|| !ent.hasFinishedInitialization();
|
||||
boolean groupChangesAllowed =
|
||||
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());
|
||||
if (!groupChangesAllowed) {
|
||||
// We don't to change groups while the user is looking at them
|
||||
|
||||
Reference in New Issue
Block a user