Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e17bbae authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 5a6e10bb cf93ef6c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 = () -> {