Clear WidgetCell#mItem before recylcing a WidgetCell am: fbb82586a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15255729 Change-Id: I75a02b246857cdef16d2324f4ab5937cf7423417
This commit is contained in:
@@ -177,6 +177,7 @@ public class WidgetCell extends LinearLayout implements OnLayoutChangeListener {
|
|||||||
mWidgetImageContainer.removeView(mAppWidgetHostViewPreview);
|
mWidgetImageContainer.removeView(mAppWidgetHostViewPreview);
|
||||||
}
|
}
|
||||||
mAppWidgetHostViewPreview = null;
|
mAppWidgetHostViewPreview = null;
|
||||||
|
mItem = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setSourceContainer(int sourceContainer) {
|
public void setSourceContainer(int sourceContainer) {
|
||||||
|
|||||||
Reference in New Issue
Block a user