[automerger] Revert workaround for missing frame callback am: 2ad2859f1e

Change-Id: Ie92ada3a301bad9cf0cdd355285503f656c8a125
This commit is contained in:
Android Build Merger (Role)
2018-06-07 22:23:56 +00:00

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();
}
}