Merge "Copy isBypassable flag from VpnProfile to VpnConfig" am: 32b2436597 am: 8048f8bbe9 am: ffda7e441b

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2189315

Change-Id: I7d56ead41335f9e498295c6ad50a469f831880b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Lucas Lin
2022-08-19 10:19:23 +00:00
committed by Automerger Merge Worker

View File

@@ -4040,6 +4040,7 @@ public class Vpn {
mConfig.proxyInfo = profile.proxy;
mConfig.requiresInternetValidation = profile.requiresInternetValidation;
mConfig.excludeLocalRoutes = profile.excludeLocalRoutes;
mConfig.allowBypass = profile.isBypassable;
switch (profile.type) {
case VpnProfile.TYPE_IKEV2_IPSEC_USER_PASS: