Merge "Don't run testRequestBackgroundNetwork in instant app mode" am: 3531b188ce
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1695289 Change-Id: Ib447d41a24fedf2b23881653c23674f526a37c65
This commit is contained in:
@@ -1718,6 +1718,7 @@ public class ConnectivityManagerTest {
|
||||
* Verify background request can only be requested when acquiring
|
||||
* {@link android.Manifest.permission.NETWORK_SETTINGS}.
|
||||
*/
|
||||
@AppModeFull(reason = "Instant apps cannot create test networks")
|
||||
@Test
|
||||
public void testRequestBackgroundNetwork() {
|
||||
// Cannot use @IgnoreUpTo(Build.VERSION_CODES.R) because this test also requires API 31
|
||||
|
||||
Reference in New Issue
Block a user