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

Commit a0c9d90e authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Fixing taskView sometimes visible during swipe-up transition

Caused by change-id: I4defce3a9745407523de651aeb28a37867567507

Change-Id: I670e20da6086d257b4de45d4e1310ef6b4314c46
parent ca907069
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -647,6 +647,7 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
                                mRecentsAnimationWrapper.controller.screenshotTask(app.taskId);
                        TaskView taskView = mRecentsView.updateThumbnail(app.taskId, thumbnail);
                        if (taskView != null) {
                            taskView.setAlpha(1);
                            // Defer finishing the animation until the next launcher frame with the
                            // new thumbnail
                            mActivityControlHelper.executeOnNextDraw(mActivity, taskView,
+0 −1
Original line number Diff line number Diff line
@@ -232,7 +232,6 @@ public abstract class RecentsView<T extends BaseActivity>
            final TaskView taskView = (TaskView) getChildAt(i);
            if (taskView.getTask().key.id == taskId) {
                taskView.onTaskDataLoaded(taskView.getTask(), thumbnailData);
                taskView.setAlpha(1);
                return taskView;
            }
        }