Fixed a bug where children were not / incorrectly userlocked
This can lead to all sorts of weird behavior Bug: 24866646 Change-Id: If3395c5f1b524592cd658a57ac91d2a0fe893011
This commit is contained in:
@@ -167,6 +167,7 @@ public class NotificationChildrenContainer extends ViewGroup {
|
||||
int newIndex = childIndex < 0 ? mChildren.size() : childIndex;
|
||||
mChildren.add(newIndex, row);
|
||||
addView(row);
|
||||
row.setUserLocked(mUserLocked);
|
||||
|
||||
View divider = inflateDivider();
|
||||
addView(divider);
|
||||
@@ -191,6 +192,7 @@ public class NotificationChildrenContainer extends ViewGroup {
|
||||
});
|
||||
|
||||
row.setSystemChildExpanded(false);
|
||||
row.setUserLocked(false);
|
||||
updateGroupOverflow();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user