mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user