Fixed a bug where children were not / incorrectly userlocked

am: 8e0c498165

* commit '8e0c4981656a7def112b10c1bec8e9a00142aa52':
  Fixed a bug where children were not / incorrectly userlocked
This commit is contained in:
Selim Cinek
2016-03-01 20:46:31 +00:00
committed by android-build-merger

View File

@@ -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();
}