Skip to content

Commit 2b04252

Browse files
author
Jeremy Woods
committed
Re-enable SynchronousActivityLifecycleTest
Seems to no longer be failing on API 21, could have been a gradle error. Re-enabling this test on all emulators. Test: tested on API 21 device Fixes: 276959207 Change-Id: I26899d3d557f323c1c9acee151f5d2ed2f426021
1 parent b85c073 commit 2b04252

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/SynchronousActivityLifecycleTest.java‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import android.content.ComponentName;
3030
import android.content.Intent;
3131
import android.content.pm.ActivityInfo;
32-
import android.os.Build;
3332

3433
import androidx.annotation.NonNull;
3534
import androidx.lifecycle.Lifecycle.Event;
@@ -39,8 +38,6 @@
3938
import androidx.test.filters.SmallTest;
4039
import androidx.test.rule.UiThreadTestRule;
4140

42-
import org.junit.Assume;
43-
import org.junit.Before;
4441
import org.junit.Rule;
4542
import org.junit.Test;
4643
import org.junit.runner.RunWith;
@@ -58,12 +55,6 @@ public class SynchronousActivityLifecycleTest {
5855
@Rule
5956
public UiThreadTestRule uiThreadTestRule = new UiThreadTestRule();
6057

61-
@Before
62-
public void setup() {
63-
// b/276959207
64-
Assume.assumeTrue(!Build.MODEL.contains("x86") || SDK_INT != 21);
65-
}
66-
6758
@Test
6859
public void testOnCreateCall() throws Throwable {
6960
testSynchronousCall(Event.ON_CREATE,

0 commit comments

Comments
 (0)