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
This commit is contained in:
1 parent
151751c014
commit
8c3dbdf22a
1 file changed
+1
-3
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user