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

Commit ea8fa012 authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Automerger Merge Worker
Browse files

Merge "Waiting for broadcasts idle in TaplInstrumentation constructor" into...

Merge "Waiting for broadcasts idle in TaplInstrumentation constructor" into sc-v2-dev am: 0e8f7098

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302542

Change-Id: I05f6e2d24cce8935548fe33ad19b990af3cf4942
parents aca38ce6 0e8f7098
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -207,6 +207,11 @@ public final class LauncherInstrumentation {
    public LauncherInstrumentation(Instrumentation instrumentation) {
        mInstrumentation = instrumentation;
        mDevice = UiDevice.getInstance(instrumentation);
        try {
            mDevice.executeShellCommand("am wait-for-broadcast-idle");
        } catch (IOException e) {
            log("Failed to wait for broadcast idle");
        }

        // Launcher should run in test harness so that custom accessibility protocol between
        // Launcher and TAPL is enabled. In-process tests enable this protocol with a direct call