Update network preference priority value for VPN am: b5c9e3567f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15258458 Change-Id: I79451722e100dcb8d066e9047656b4410d3bab82
This commit is contained in:
@@ -428,7 +428,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
// PREFERENCE_PRIORITY_NONE when sending to netd.
|
||||
static final int PREFERENCE_PRIORITY_DEFAULT = 1000;
|
||||
// As a security feature, VPNs have the top priority.
|
||||
static final int PREFERENCE_PRIORITY_VPN = 1;
|
||||
static final int PREFERENCE_PRIORITY_VPN = 0; // Netd supports only 0 for VPN.
|
||||
// Priority of per-app OEM preference. See {@link #setOemNetworkPreference}.
|
||||
@VisibleForTesting
|
||||
static final int PREFERENCE_PRIORITY_OEM = 10;
|
||||
|
||||
Reference in New Issue
Block a user