Merge "Refer to SDK constant defined in DevSdkIgnoreRule" am: 5be94579d4

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

Change-Id: Ibeb9c3e828cc4bd3177ccfc5ef09d80155ed4781
This commit is contained in:
Treehugger Robot 2022-02-11 09:33:53 +00:00 • committed by Automerger Merge Worker
commit 6973f87392

View file

@ -16,6 +16,8 @@
package android.net;
import static com.android.testutils.DevSdkIgnoreRuleKt.SC_V2;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@ -264,8 +266,8 @@ public class Ikev2VpnProfileTest {
}
// TODO: Refer to Build.VERSION_CODES.SC_V2 when it's available in AOSP
@DevSdkIgnoreRule.IgnoreUpTo(32)
// TODO: Refer to Build.VERSION_CODES.SC_V2 when it's available in AOSP and mainline branch
@DevSdkIgnoreRule.IgnoreUpTo(SC_V2)
@Test
public void testBuildExcludeLocalRoutesSet() throws Exception {
final Ikev2VpnProfile.Builder builder = getBuilderWithDefaultOptions();