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

Commit ca8686af authored by Winson Chung's avatar Winson Chung
Browse files

Fixing regression with screen pinning button not animating for the first task. (Bug 17985087)

Change-Id: I81b8b5d6521c99023bbaf903d1bfb95015fbe756
parent 38e95715
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -228,6 +228,8 @@ public class TaskView extends FrameLayout implements Task.TaskCallbacks,
            if (isTaskViewLaunchTargetTask) {
                // Set the dim to 0 so we can animate it in
                initialDim = 0;
                // Hide the action button
                mActionButtonView.setAlpha(0f);
            } else if (occludesLaunchTarget) {
                // Move the task view off screen (below) so we can animate it in
                setTranslationY(offscreenY);