Revert "Diable ConnectivityManagerTest#testFactoryReset"

This reverts commit f866acb6e7.

Reason for revert: enable the test

Change-Id: I00c2b32f0bf6fdb825d0edba8dcb74bcc7ad2fbf
This commit is contained in:
Mark Chien
2023-07-27 02:32:57 +00:00
committed by Mark
parent 7f8015fe9e
commit dfdc21bc6b

View File

@@ -2560,10 +2560,9 @@ public class ConnectivityManagerTest {
assertThrows(SecurityException.class, () -> mCm.factoryReset());
}
// @AppModeFull(reason = "Cannot get WifiManager in instant app mode")
// @Test
// Temporarily disable the unreliable test, which is blocked by b/254183718.
private void testFactoryReset() throws Exception {
@AppModeFull(reason = "Cannot get WifiManager in instant app mode")
@Test
public void testFactoryReset() throws Exception {
assumeTrue(TestUtils.shouldTestSApis());
// Store current settings.