Merge "Fix for recents button quick switch with only focus and desktop task" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
5a90a5ab96
@@ -4571,6 +4571,20 @@ public abstract class RecentsView<
|
||||
return getTaskViewAt(getRunningTaskIndex() + 1);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public TaskView getPreviousTaskView() {
|
||||
return getTaskViewAt(getRunningTaskIndex() - 1);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public TaskView getLastLargeTaskView() {
|
||||
return mUtils.getLastLargeTaskView(getTaskViews());
|
||||
}
|
||||
|
||||
public int getLargeTilesCount() {
|
||||
return mUtils.getLargeTileCount(getTaskViews());
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public TaskView getCurrentPageTaskView() {
|
||||
return getTaskViewAt(getCurrentPage());
|
||||
|
||||
Reference in New Issue
Block a user