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

Commit 8c3dbdf2 authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Enabling wallpaper animation wait in presubmit widget tests

This check is stable now

Bug: 313926097
Flag: N/A
Test: presubmit, postsubmit runs
Change-Id: Id6bbe5f8ca3aaae3ef025732b4d429d109b567ce
parent 151751c0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@ import com.android.launcher3.ui.PortraitLandscapeRunner.PortraitLandscape;
import com.android.launcher3.ui.TestViewHelpers;
import com.android.launcher3.util.Wait;
import com.android.launcher3.util.rule.ShellCommandRule;
import com.android.launcher3.util.rule.TestStabilityRule;
import com.android.launcher3.widget.LauncherAppWidgetProviderInfo;

import org.junit.Before;
@@ -120,8 +119,7 @@ public class TaplAddConfigWidgetTest extends AbstractLauncherUiTest {
    }

    private void setResultAndWaitForAnimation(boolean success) {
        if (mLauncher.isLauncher3()
                || TestStabilityRule.isPresubmit() /* b/313926097 */) {
        if (mLauncher.isLauncher3()) {
            setResult(success);
        } else {
            mLauncher.executeAndWaitForWallpaperAnimation(