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:
Chiachang Wang 2021-06-16 02:06:37 +00:00 • committed by Automerger Merge Worker
commit c60aab0243

View file

@ -2052,6 +2052,7 @@ public class ConnectivityManagerTest {
assertThrows(SecurityException.class, () -> mCm.factoryReset());
}
@AppModeFull(reason = "Cannot get WifiManager in instant app mode")
@Test
public void testFactoryReset() throws Exception {
assumeTrue(TestUtils.shouldTestSApis());