Remove scheduling animation which is no longer needed

Bug: 63914027
Test: android.server.wm.CrossAppDragAndDropTests, manually check the
      rejected animation and the cancel animation.
Change-Id: I6bdce7fb406fa8ae622d634fa224c993b078bf8a
This commit is contained in:
Daichi Hirono
2017-10-25 11:25:36 +09:00
parent c3787a8a83
commit 79e097be02

View File

@@ -412,7 +412,6 @@ class DragState {
}
if (!mDragResult) {
mAnimator = createReturnAnimationLocked();
mService.scheduleAnimationLocked();
return; // Will call cleanUpDragLw when the animation is done.
}
cleanUpDragLw();