Revert "Diable ConnectivityManagerTest#testFactoryReset"
This reverts commit f866acb6e7.
Reason for revert: enable the test
Change-Id: I00c2b32f0bf6fdb825d0edba8dcb74bcc7ad2fbf
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user