Merge "Fix cast exception when dropping widgets to a drop target" into sc-dev am: 2e17bbae0d

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

Change-Id: Ic486ab77bca7b31848f30dc80034e08add392310
This commit is contained in:
TreeHugger Robot
2021-04-22 18:55:13 +00:00
committed by Automerger Merge Worker
@@ -240,6 +240,7 @@ public abstract class ButtonDropTarget extends TextView
final Rect to = getIconRect(d);
final float scale = (float) to.width() / from.width();
d.dragView.detachContentView(/* reattachToPreviousParent= */ true);
mDropTargetBar.deferOnDragEnd();
Runnable onAnimationEndRunnable = () -> {