Merge "Fix folder crash where view is added when it already has a parent." into ub-launcher3-rvc-qpr-dev am: 20d3187d88
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195976 Change-Id: I3b1d8fb280de5d96838d7c315260d9cbe78b064b
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user