Merge "Add comment regarding Overview TaskViews" into tm-qpr-dev
This commit is contained in:
commit
caacd73cfa
1 file changed
+3
-1
@@ -3142,7 +3142,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
|||||||
anim.addOnFrameCallback(this::updateCurveProperties);
|
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) {
|
if (animateTaskView) {
|
||||||
dismissedTaskView.setTranslationZ(0.1f);
|
dismissedTaskView.setTranslationZ(0.1f);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user