Merge "Add comment regarding Overview TaskViews" into tm-qpr-dev am: caacd73cfa

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19388388

Change-Id: I8ba556c2e851e0c28b952f574221b19d08dd0f12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jeremy Sim
2022-07-26 23:21:05 +00:00
committed by Automerger Merge Worker

View File

@@ -3142,7 +3142,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);
}