Turn DragView into a FrameLayout

Bug: 183609936
Test: drag-n-drop icons, folders, widgets, shortcuts
Change-Id: I030b36cd59ac6d0ced3263baca13108825ab2296
This commit is contained in:
Sunny Goyal authored and Steven Ng committed 2021-04-20 00:19:06 +01:00
1 parent bacfccfc7d
commit e36664d541
5 files changed
+161 -276

No files matched your search

@@ -70,9 +70,6 @@ public class FlingAnimation implements AnimatorUpdateListener, Runnable {
mAnimationTimeFraction = ((float) mDuration) / (mDuration + DRAG_END_DELAY);
// Don't highlight the icon as it's animating
mDragObject.dragView.setColor(0);
final int duration = mDuration + DRAG_END_DELAY;
final long startTime = AnimationUtils.currentAnimationTimeMillis();