mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Merge "Asking the test to wait for launcher to commit the uninstall transaction before opening all apps." into tm-qpr-dev
This commit is contained in:
@@ -510,7 +510,6 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
|
||||
|
||||
@Test
|
||||
@PortraitLandscape
|
||||
@ScreenRecord // (b/256659409)
|
||||
public void testUninstallFromAllApps() throws Exception {
|
||||
installDummyAppAndWaitForUIUpdate();
|
||||
try {
|
||||
@@ -519,6 +518,8 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
|
||||
allApps.freeze();
|
||||
try {
|
||||
workspace = allApps.getAppIcon(DUMMY_APP_NAME).uninstall();
|
||||
// After the toast clears, then the model tries to commit the uninstall transaction
|
||||
mLauncher.waitForModelQueueCleared();
|
||||
} finally {
|
||||
allApps.unfreeze();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user