Update AbstractLauncherUiTest to use recents window when possible

Flag: com.android.launcher3.enable_launcher_overview_in_window
Bug: 377678992
Test: pre/postsubmit
Change-Id: Id3ddc11aa9163df3f2914edba66e1db36fdde63b
This commit is contained in:
Schneider Victor-Tulias authored and Schneider Victor-tulias committed 2025-04-29 14:13:26 -07:00
1 parent 7103e478b3
commit b8440b75ef
16 files changed
+182 -131

No files matched your search

@@ -21,6 +21,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import android.platform.test.annotations.PlatinumTest;
import android.view.View;
import com.android.launcher3.Launcher;
import com.android.launcher3.popup.ArrowPopup;
@@ -38,7 +39,7 @@ import org.junit.Test;
* Tests the AppIconMenu (the menu that appears when you long press an app icon) and also make sure
* we can launch a shortcut from it.
*/
public class TaplAppIconMenuTest extends AbstractLauncherUiTest<Launcher> {
public class TaplAppIconMenuTest extends AbstractLauncherUiTest<Launcher, View> {
private boolean isOptionsPopupVisible(Launcher launcher) {
final ArrowPopup<?> popup = launcher.getOptionsPopup();