summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorCody Kesting <ckesting@google.com>2020-03-18 19:40:39 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-03-18 19:40:39 +0000
commit69990a626e4aa4175ceeecd662564593bebb5c31 (patch)
tree05f016c5f2204129ce9d28129893a5dd49afd7b4 /service
parentb86e5186704327ec89a7cea5aa56f1594aff791c (diff)
parentd653e0ade38b6e0163b4be322795a0a2a7a00d30 (diff)
Merge "Update NetworkCapabilities administrator UIDs to be int[]." into rvc-dev
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/ClientModeImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/ClientModeImpl.java b/service/java/com/android/server/wifi/ClientModeImpl.java
index 5da041f8b..f5f96a134 100644
--- a/service/java/com/android/server/wifi/ClientModeImpl.java
+++ b/service/java/com/android/server/wifi/ClientModeImpl.java
@@ -4348,7 +4348,7 @@ public class ClientModeImpl extends StateMachine {
}
result.setOwnerUid(currentWifiConfiguration.creatorUid);
- result.setAdministratorUids(Arrays.asList(currentWifiConfiguration.creatorUid));
+ result.setAdministratorUids(new int[] {currentWifiConfiguration.creatorUid});
if (!WifiConfiguration.isMetered(currentWifiConfiguration, mWifiInfo)) {
result.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED);