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

Commit 2ad2859f authored by Winson Chung's avatar Winson Chung
Browse files

Revert workaround for missing frame callback

Bug: 109701914
Test: Long swipe from an app and ensure the app window is hidden
Change-Id: Ice2978687e2049d5cfb20f3f7ce93906246c30b6
parent a04c779f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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();
    }
}