Merge "Ignore testFactoryReset in instant app mode" into sc-dev am: 75eb9e6ba9

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

Change-Id: Ic8dd87cdd344d5ac88d195faf1d510679f5c30c7
This commit is contained in:
TreeHugger Robot
2021-06-16 13:08:50 +00:00
committed by Automerger Merge Worker

View File

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