From 2ddcf603e23090d516326bd1eaa8d0b5897081d9 Mon Sep 17 00:00:00 2001 From: Chalard Jean Date: Sun, 27 Feb 2022 12:16:32 +0900 Subject: [PATCH] Reword comment for language quality This addresses a leftover comment to aosp/1919251 Bug: 238139913 Test: comment-only Change-Id: Icfd054a1f9a4b928b222fb1a74af066c36c886b0 --- framework/src/android/net/NetworkCapabilities.java | 2 +- service/src/com/android/server/ConnectivityService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/src/android/net/NetworkCapabilities.java b/framework/src/android/net/NetworkCapabilities.java index 41be7324c5..244e34cef8 100644 --- a/framework/src/android/net/NetworkCapabilities.java +++ b/framework/src/android/net/NetworkCapabilities.java @@ -3034,7 +3034,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 c90fcd5adb..43b6145227 100644 --- a/service/src/com/android/server/ConnectivityService.java +++ b/service/src/com/android/server/ConnectivityService.java @@ -6183,7 +6183,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