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

Commit 4f517257 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Adding waiting for Launcher initialization" into ub-launcher3-rvc-dev

parents 144f638f 60d3333f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -297,6 +297,7 @@ public abstract class AbstractLauncherUiTest {
            clearPackageData(mDevice.getLauncherPackageName());
            mLauncher.enableDebugTracing();
            mLauncherPid = mLauncher.getPid();
            mLauncher.waitForLauncherInitialized();
        }
    }

+1 −0
Original line number Diff line number Diff line
@@ -625,6 +625,7 @@ public final class LauncherInstrumentation {
        mInstrumentation.getUiAutomation().setOnAccessibilityEventListener(
                e -> Log.d("b/155926212", e.toString()));
        try (LauncherInstrumentation.Closable e = eventsCheck()) {
            waitForLauncherInitialized();
            // Click home, then wait for any accessibility event, then wait until accessibility
            // events stop.
            // We need waiting for any accessibility event generated after pressing Home because