Un-ignore tests that now pass.
We added @Ignore here because the tests were broken by commit
fc6872ee834463ca733c5507fd26f55dbc22fea8. But they were then fixed by
commit 906af488b3dceb5b995e7c8a7a58bf84aaf1c28a, so we can safely run
them again.
Bug: 133450759
Bug: 132333960
Test: atest BackgroundActivityLaunchTest
Change-Id: I42765d1c4e6eca483cfd2e6711c734cb957f0ebf
diff --git a/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/BackgroundActivityLaunchTest.java b/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/BackgroundActivityLaunchTest.java
index 7fce1f5..903c91a 100644
--- a/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/BackgroundActivityLaunchTest.java
+++ b/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/BackgroundActivityLaunchTest.java
@@ -59,7 +59,6 @@
import org.junit.After;
import org.junit.Before;
-import org.junit.Ignore;
import org.junit.Test;
import java.util.List;
@@ -155,7 +154,6 @@
APP_A_FOREGROUND_ACTIVITY);
}
- @Ignore // test temporarily disabled due to bg activity start grace period introduction
@Test
public void testActivityNotBlockedwhenForegroundActivityLaunchInSameTask() throws Exception {
// Start foreground activity, and foreground activity able to launch background activity
@@ -186,7 +184,6 @@
APP_A_FOREGROUND_ACTIVITY);
}
- @Ignore // test temporarily disabled due to bg activity start grace period introduction
@Test
public void testActivityNotBlockedWhenForegroundActivityLaunchInDifferentTask()
throws Exception {
@@ -219,7 +216,6 @@
assertTaskStack(null, APP_A_BACKGROUND_ACTIVITY);
}
- @Ignore // test temporarily disabled due to bg activity start grace period introduction
@Test
@FlakyTest(bugId = 130800326)
public void testActivityBlockedWhenForegroundActivityRestartsItself() throws Exception {