Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4aa9000 authored by Federico Baron's avatar Federico Baron Committed by Android (Google) Code Review
Browse files

Merge "Fix attempt for ...

Merge "Fix attempt for  TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible" into main
parents 66364f96 347b408f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -352,8 +352,11 @@ public class TaplTwoPanelWorkspaceTest extends AbstractLauncherUiTest<Launcher>
    }

    private void assertPagesExist(Launcher launcher, int... pageIds) {
        waitForLauncherCondition("Existing page count does NOT match. "
                + "Expected: " + pageIds.length
                + ". Actual: " + launcher.getWorkspace().getPageCount(),
                l -> pageIds.length == l.getWorkspace().getPageCount());
        int pageCount = launcher.getWorkspace().getPageCount();
        assertEquals("Existing page count does NOT match.", pageIds.length, pageCount);
        for (int i = 0; i < pageCount; i++) {
            CellLayout page = (CellLayout) launcher.getWorkspace().getPageAt(i);
            int pageId = launcher.getWorkspace().getCellLayoutId(page);