Change naming of excludeLocalRoutes

Address API review feedback to change naming of
setExcludedLocalRoutesVpn and getter.

Bug: 217742354
Test: atest FrameworksNetTests
Change-Id: I57bbf55c7aba1c86ec8687d2431a50b37e63c6d0
This commit is contained in:
Chiachang Wang
2022-02-08 15:45:11 +08:00
parent 4b66d4e244
commit f890874970
4 changed files with 8 additions and 8 deletions

View File

@@ -270,11 +270,11 @@ public class Ikev2VpnProfileTest {
public void testBuildExcludeLocalRoutesSet() throws Exception {
final Ikev2VpnProfile.Builder builder = getBuilderWithDefaultOptions();
builder.setAuthPsk(PSK_BYTES);
builder.setExcludeLocalRoutes(true);
builder.setLocalRoutesExcluded(true);
final Ikev2VpnProfile profile = builder.build();
assertNotNull(profile);
assertTrue(profile.getExcludeLocalRoutes());
assertTrue(profile.areLocalRoutesExcluded());
builder.setBypassable(false);
try {