Revert workaround for missing frame callback

Bug: 109701914
Test: Long swipe from an app and ensure the app window is hidden
Change-Id: Ice2978687e2049d5cfb20f3f7ce93906246c30b6
This commit is contained in:
Winson Chung 2018-06-07 15:22:22 -07:00
parent a04c779f86
commit 2ad2859f1e
1 changed files with 1 additions and 3 deletions

View File

@ -1021,8 +1021,6 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
private void setTargetAlphaProvider(
BiFunction<RemoteAnimationTargetCompat, Float, Float> provider) {
mClipAnimationHelper.setTaskAlphaCallback(provider);
// TODO: For some reason, when calling updateFinalShift multiple times on the same frame,
// only the first callback is executed.
Utilities.postAsyncCallback(mMainThreadHandler, this::updateFinalShift);
updateFinalShift();
}
}