Merge "Ignore testFactoryReset in instant app mode" am: f3283e6b93 am: c60aab0243

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1735673

Change-Id: Ibf0f8cf56360ffaa9c94f089018bbfe885373706
This commit is contained in:
Chiachang Wang
2021-06-16 02:35:26 +00:00
committed by Automerger Merge Worker

View File

@@ -2056,6 +2056,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());