Merge "Ignore testFactoryReset in instant app mode" am: f3283e6b93
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1735673 Change-Id: I497b71bf3a54c177f1b6e2cd63b3588b3c85f2cb
This commit is contained in:
@@ -2052,6 +2052,7 @@ public class ConnectivityManagerTest {
|
|||||||
assertThrows(SecurityException.class, () -> mCm.factoryReset());
|
assertThrows(SecurityException.class, () -> mCm.factoryReset());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@AppModeFull(reason = "Cannot get WifiManager in instant app mode")
|
||||||
@Test
|
@Test
|
||||||
public void testFactoryReset() throws Exception {
|
public void testFactoryReset() throws Exception {
|
||||||
assumeTrue(TestUtils.shouldTestSApis());
|
assumeTrue(TestUtils.shouldTestSApis());
|
||||||
|
|||||||
Reference in New Issue
Block a user