Merge "Show screenshot and select in task menu" into main

This commit is contained in:
Treehugger Robot
2025-03-07 12:28:33 -08:00
committed by Android (Google) Code Review
6 changed files with 109 additions and 28 deletions
@@ -1587,7 +1587,10 @@ public abstract class RecentsView<
== getPagedOrientationHandler().getPrimaryScroll(this);
}
private boolean isFocusedTaskInExpectedScrollPosition() {
/**
* Returns true if the focused TaskView is in expected scroll position.
*/
public boolean isFocusedTaskInExpectedScrollPosition() {
TaskView focusedTask = getFocusedTaskView();
return focusedTask != null && isTaskInExpectedScrollPosition(focusedTask);
}