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

Commit 74f7789f authored by Jeremy Sim's avatar Jeremy Sim
Browse files

Add comment regarding Overview TaskViews

Just adds a comment explaining the elevation of Overview TaskViews. No code changes.

Bug: 208650434
Test: None needed.
Change-Id: I19c434f8473237a4a0f6fe36deecc9c80e7b8a49
parent 033f8df4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3107,7 +3107,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
            anim.addOnFrameCallback(this::updateCurveProperties);
        }

        // Add a tiny bit of translation Z, so that it draws on top of other views
        // Add a tiny bit of translation Z, so that it draws on top of other views. This is relevant
        // (e.g.) when we dismiss a task by sliding it upward: if there is a row of icons above, we
        // want the dragged task to stay above all other views.
        if (animateTaskView) {
            dismissedTaskView.setTranslationZ(0.1f);
        }