mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Merge "Move split functions from RecentsView to SplitSelectStateController" into tm-qpr-dev
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user