Merge "Exclude home and recents activity types when overriding recents-excluded tasks" into main

This commit is contained in:
Schneider Victor-tulias authored and Android (Google) Code Review committed 2024-06-12 15:46:56 +00:00
commit c4ed677501
2 files changed
+5 -3

No files matched your search

@@ -1245,7 +1245,7 @@ public class TouchInteractionService extends Service {
// running activity as the task behind the overlay.
TopTaskTracker.CachedTaskInfo otherVisibleTask = runningTask == null
? null
: runningTask.otherVisibleTaskThisIsExcludedOver();
: runningTask.getVisibleNonExcludedTask();
if (otherVisibleTask != null) {
ActiveGestureLog.INSTANCE.addLog(new CompoundString("Changing active task to ")
.append(otherVisibleTask.getPackageName())