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

Commit a92961a6 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Clear ref to animation after drag & drop animation completes" into ub-launcher3-edmonton

parents b299f3f1 7dd3b521
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line

/*
 * Copyright (C) 2008 The Android Open Source Project
 *
@@ -479,6 +480,7 @@ public class DragLayer extends BaseDragLayer<Launcher> {
                case ANIMATION_END_REMAIN_VISIBLE:
                    break;
                }
                mDropAnim = null;
            }
        });
        mDropAnim.start();
@@ -488,6 +490,7 @@ public class DragLayer extends BaseDragLayer<Launcher> {
        if (mDropAnim != null) {
            mDropAnim.cancel();
        }
        mDropAnim = null;
        if (mDropView != null) {
            mDragController.onDeferredEndDrag(mDropView);
        }