Merge "Change naming of excludeLocalRoutes"

This commit is contained in:
Chiachang Wang
2022-02-10 00:50:30 +00:00
committed by Gerrit Code Review
4 changed files with 8 additions and 8 deletions

View File

@@ -244,7 +244,7 @@ public final class NetworkAgentConfig implements Parcelable {
* @return whether local traffic is excluded from the VPN network.
* @hide
*/
public boolean getExcludeLocalRouteVpn() {
public boolean areLocalRoutesExcludedForVpn() {
return excludeLocalRouteVpn;
}
@@ -472,7 +472,7 @@ public final class NetworkAgentConfig implements Parcelable {
*/
@NonNull
@SystemApi(client = MODULE_LIBRARIES)
public Builder setExcludeLocalRoutesVpn(boolean excludeLocalRoutes) {
public Builder setLocalRoutesExcludedForVpn(boolean excludeLocalRoutes) {
mConfig.excludeLocalRouteVpn = excludeLocalRoutes;
return this;
}