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

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

Merge "Reducing the time for expected launcher initialization back to 10 sec"...

Merge "Reducing the time for expected launcher initialization back to 10 sec" into ub-launcher3-master
parents da6b9f74 6332b7d7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
package com.android.launcher3.ui.widget;

import static com.android.launcher3.ui.TaplTestsLauncher3.getAppPackageName;
import static com.android.launcher3.util.rule.TestStabilityRule.UNBUNDLED_POSTSUBMIT;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
@@ -29,6 +30,7 @@ import com.android.launcher3.tapl.Widget;
import com.android.launcher3.ui.AbstractLauncherUiTest;
import com.android.launcher3.ui.TestViewHelpers;
import com.android.launcher3.util.rule.ShellCommandRule;
import com.android.launcher3.util.rule.TestStabilityRule.Stability;

import org.junit.Rule;
import org.junit.Test;
@@ -46,6 +48,7 @@ public class AddWidgetTest extends AbstractLauncherUiTest {

    @Test
    @PortraitLandscape
    @Stability(flavors = UNBUNDLED_POSTSUBMIT) // b/142514365
    public void testDragIcon() throws Throwable {
        clearHomescreen();
        mDevice.pressHome();
+1 −1
Original line number Diff line number Diff line
@@ -497,7 +497,7 @@ public final class LauncherInstrumentation {
    }

    public void waitForLauncherInitialized() {
        for (int i = 0; i < 600; ++i) {
        for (int i = 0; i < 100; ++i) {
            if (getTestInfo(
                    TestProtocol.REQUEST_IS_LAUNCHER_INITIALIZED).
                    getBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD)) {