Merge "Clear WidgetCell#mItem before recylcing a WidgetCell" into sc-v2-dev am: ac21df2246 am: 237a06a04d

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15242987

Change-Id: Iba0f448e242d8ae0ef0e33c925e6a94e2c22a9a5
This commit is contained in:
Steven Ng 2021-07-09 22:47:54 +00:00 committed by Automerger Merge Worker
commit 153b9b50d2
1 changed files with 1 additions and 0 deletions

View File

@ -177,6 +177,7 @@ public class WidgetCell extends LinearLayout implements OnLayoutChangeListener {
mWidgetImageContainer.removeView(mAppWidgetHostViewPreview);
}
mAppWidgetHostViewPreview = null;
mItem = null;
}
public void setSourceContainer(int sourceContainer) {