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