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:
parent
a04c779f86
commit
2ad2859f1e
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue