Merge "Fix folder crash where view is added when it already has a parent." into ub-launcher3-rvc-qpr-dev

This commit is contained in:
Jonathan Miranda
2020-07-21 20:13:06 +00:00
committed by Android (Google) Code Review
@@ -1135,6 +1135,9 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
* Rearranges the children based on their rank.
*/
public void rearrangeChildren() {
if (!mContent.areViewsBound()) {
return;
}
mContent.arrangeChildren(getIconsInReadingOrder());
mItemsInvalidated = true;
}