Merge "Revert "Diable ConnectivityManagerTest#testFactoryReset"" into main
This commit is contained in:
@@ -2560,10 +2560,9 @@ public class ConnectivityManagerTest {
|
|||||||
assertThrows(SecurityException.class, () -> mCm.factoryReset());
|
assertThrows(SecurityException.class, () -> mCm.factoryReset());
|
||||||
}
|
}
|
||||||
|
|
||||||
// @AppModeFull(reason = "Cannot get WifiManager in instant app mode")
|
@AppModeFull(reason = "Cannot get WifiManager in instant app mode")
|
||||||
// @Test
|
@Test
|
||||||
// Temporarily disable the unreliable test, which is blocked by b/254183718.
|
public void testFactoryReset() throws Exception {
|
||||||
private void testFactoryReset() throws Exception {
|
|
||||||
assumeTrue(TestUtils.shouldTestSApis());
|
assumeTrue(TestUtils.shouldTestSApis());
|
||||||
|
|
||||||
// Store current settings.
|
// Store current settings.
|
||||||
|
|||||||
Reference in New Issue
Block a user