Merge "Allow split with an existing split task" into tm-dev am: e424f57dcb am: 40a7e90d94
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16942074 Change-Id: I6d9ef927d717e65c1eb2888dba9b66f778a3f667
This commit is contained in:
commit
47eb5bf1eb
5 files changed
+73
-38
No files matched your search
@@ -467,13 +467,19 @@ public class TaskbarDragController extends DragController<TaskbarActivityContext
|
||||
}
|
||||
});
|
||||
mReturnAnimator.addListener(new AnimatorListenerAdapter() {
|
||||
private boolean mCanceled = false;
|
||||
|
||||
@Override
|
||||
public void onAnimationCancel(Animator animation) {
|
||||
cleanUpSurface();
|
||||
mCanceled = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
if (mCanceled) {
|
||||
return;
|
||||
}
|
||||
cleanUpSurface();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user