commit | 5522ed6e3c6f8ac0be649a37387ce8b87cc3e82a | [log] [tgz] |
---|---|---|
author | James Mattis <jmattis@google.com> | Wed Mar 31 03:03:27 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Mar 31 03:03:27 2021 +0000 |
tree | 8c091149a68924270b9c3ee2e297db19f89e7f59 | |
parent | ce1d32cd360c65669eb2585029149dfa6dc75d2b [diff] | |
parent | 9bdfa2c5822ecea665b2388ac8d23d560816ed42 [diff] |
Merge "Change the const for the unreachable network" am: 07ff79a595 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1653190 Change-Id: I1e63766f07f3976abd36df117ffd3bf5ae1a8af4
diff --git a/services/core/java/com/android/server/ConnectivityService.java b/services/core/java/com/android/server/ConnectivityService.java index 7ea3738..e3ce7a3 100644 --- a/services/core/java/com/android/server/ConnectivityService.java +++ b/services/core/java/com/android/server/ConnectivityService.java
@@ -6296,8 +6296,8 @@ // Request used to optionally keep vehicle internal network always active private final NetworkRequest mDefaultVehicleRequest; - // TODO replace with INetd.DUMMY_NET_ID when available. - private static final int NO_SERVICE_NET_ID = 51; + // TODO replace with INetd.UNREACHABLE_NET_ID when available. + private static final int NO_SERVICE_NET_ID = 52; // Sentinel NAI used to direct apps with default networks that should have no connectivity to a // network with no service. This NAI should never be matched against, nor should any public API // ever return the associated network. For this reason, this NAI is not in the list of available