diff --git a/framework/src/android/net/NetworkCapabilities.java b/framework/src/android/net/NetworkCapabilities.java index 97b1f32671..dbb05a9133 100644 --- a/framework/src/android/net/NetworkCapabilities.java +++ b/framework/src/android/net/NetworkCapabilities.java @@ -3043,7 +3043,7 @@ public final class NetworkCapabilities implements Parcelable { *
* This list cannot be null, but it can be empty to mean that no UID without the * {@link android.Manifest.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS} permission - * gets to access this network. + * can access this network. * * @param uids the list of UIDs that can always access this network * @return this builder diff --git a/service/src/com/android/server/ConnectivityService.java b/service/src/com/android/server/ConnectivityService.java index 7948400e27..37fc391d95 100644 --- a/service/src/com/android/server/ConnectivityService.java +++ b/service/src/com/android/server/ConnectivityService.java @@ -6363,7 +6363,7 @@ public class ConnectivityService extends IConnectivityManager.Stub if (null != satisfier) { // If the old NRI was satisfied by an NAI, then it may have had an active request. // The active request is necessary to figure out what callbacks to send, in - // particular then a network updates its capabilities. + // particular when a network updates its capabilities. // As this code creates a new NRI with a new set of requests, figure out which of // the list of requests should be the active request. It is always the first // request of the list that can be satisfied by the satisfier since the order of