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

Commit f905365e authored by Andrew Cole's avatar Andrew Cole Committed by Android (Google) Code Review
Browse files

Merge "Asking the test to wait for launcher to commit the uninstall...

Merge "Asking the test to wait for launcher to commit the uninstall transaction before opening all apps." into tm-qpr-dev
parents 887c0ae6 66e5c913
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -510,7 +510,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {


    @Test
    @Test
    @PortraitLandscape
    @PortraitLandscape
    @ScreenRecord // (b/256659409)
    public void testUninstallFromAllApps() throws Exception {
    public void testUninstallFromAllApps() throws Exception {
        installDummyAppAndWaitForUIUpdate();
        installDummyAppAndWaitForUIUpdate();
        try {
        try {
@@ -519,6 +518,8 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
            allApps.freeze();
            allApps.freeze();
            try {
            try {
                workspace = allApps.getAppIcon(DUMMY_APP_NAME).uninstall();
                workspace = allApps.getAppIcon(DUMMY_APP_NAME).uninstall();
                // After the toast clears, then the model tries to commit the uninstall transaction
                mLauncher.waitForModelQueueCleared();
            } finally {
            } finally {
                allApps.unfreeze();
                allApps.unfreeze();
            }
            }