Disable Test to make presubmits pass.

This test needs to be adjusted to the modified default value, which will
happen in a followup.

Test: atest com.android.server.wm.ActivityStarterTests#testBackgroundActivityStartsDisallowed_realCallingUidHasVisibleWindowAborted
Bug: 266015587
Change-Id: I4467d27d72c2fbe360b59ad9354bab4428b9327c
This commit is contained in:
Achim Thesmann
2023-01-24 21:19:04 +00:00
parent 1207cea9be
commit 8bbfab2256

View File

@@ -113,6 +113,7 @@ import com.android.server.wm.LaunchParamsController.LaunchParamsModifier;
import com.android.server.wm.utils.MockTracker;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -754,6 +755,7 @@ public class ActivityStarterTests extends WindowTestsBase {
* start the background activity.
*/
@Test
@Ignore("b/266015587")
public void testBackgroundActivityStartsDisallowed_realCallingUidHasVisibleWindowAborted() {
doReturn(false).when(mAtm).isBackgroundActivityStartsEnabled();