From 8c3dbdf22a8220b8a1b73a463d275eef8cc45206 Mon Sep 17 00:00:00 2001 From: Vadim Tryshev Date: Mon, 11 Dec 2023 10:30:36 -0800 Subject: [PATCH] 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 --- .../android/launcher3/ui/widget/TaplAddConfigWidgetTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/src/com/android/launcher3/ui/widget/TaplAddConfigWidgetTest.java b/tests/src/com/android/launcher3/ui/widget/TaplAddConfigWidgetTest.java index 3263d60e52..d96287f6f4 100644 --- a/tests/src/com/android/launcher3/ui/widget/TaplAddConfigWidgetTest.java +++ b/tests/src/com/android/launcher3/ui/widget/TaplAddConfigWidgetTest.java @@ -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(