Merge "Don't run testRequestBackgroundNetwork in instant app mode" am: 3531b188ce am: e7bb625eaf
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1695289 Change-Id: Iec0e338d556495c7a2e14b273d8fefad31983dd8
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