Merge "Move split functions from RecentsView to SplitSelectStateController" into tm-qpr-dev

This commit is contained in:
Vinit Nayak authored and Android (Google) Code Review committed 2023-02-22 02:15:46 +00:00
commit 54c262cd67
5 files changed
+68 -69

No files matched your search

@@ -877,9 +877,9 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
* (potentially breaking a split pair).
*/
private void launchFromTaskbarPreservingSplitIfVisible(RecentsView recents, ItemInfo info) {
recents.findLastActiveTaskAndRunCallback(
recents.getSplitSelectController().findLastActiveTaskAndRunCallback(
info.getTargetComponent(),
(Consumer<Task>) foundTask -> {
foundTask -> {
if (foundTask != null) {
TaskView foundTaskView =
recents.getTaskViewByTaskId(foundTask.key.id);