Merge "Avoid flicker to drop a widget that needs a config activity." into main

This commit is contained in:
Fengjiang Li authored and Android (Google) Code Review committed 2024-02-17 03:16:40 +00:00
commit 73ece207a2
6 files changed
+165 -34

No files matched your search

+1 -1
View File
@@ -2988,7 +2988,7 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
}
public void animateWidgetDrop(ItemInfo info, CellLayout cellLayout, final DragView dragView,
final Runnable onCompleteRunnable, int animationType, final View finalView,
final Runnable onCompleteRunnable, int animationType, @Nullable final View finalView,
boolean external) {
int[] finalPos = new int[2];
float scaleXY[] = new float[2];