Simplifying some view iteration methods

Bug: 393703968
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: Ieffa3a66fbf8595d542995c348df578a3aec9083
This commit is contained in:
Sunny Goyal committed 2025-03-04 10:39:55 -08:00
1 parent 3848c51edb
commit 476d926972
16 files changed
+136 -202

No files matched your search

@@ -176,6 +176,7 @@ import java.util.Arrays;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map.Entry;
/**
* Manages the opening and closing app transitions from Launcher
@@ -1342,9 +1343,9 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
? Collections.EMPTY_LIST
: runningTaskTarget.taskInfo.launchCookies;
return mLauncher.getFirstMatchForAppClose(
return mLauncher.getFirstVisibleElementForAppClose(
StableViewInfo.fromLaunchCookies(launchCookies), packageName,
UserHandle.of(runningTaskTarget.taskInfo.userId), true /* supportsAllAppsState */);
UserHandle.of(runningTaskTarget.taskInfo.userId));
}
private @NonNull RectF getDefaultWindowTargetRect() {