summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNate Jiang <qiangjiang@google.com>2020-02-27 02:10:28 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-02-27 02:10:28 +0000
commit3877359c5416e9444743c493959ca425bce87346 (patch)
treeff4194d7f92b8041dec3b270247a6e43bcb5665b /tests
parent2d7d6154fd751d28114cc63af2af6963b125dc75 (diff)
parentffa8f72e4e7a1f7ab8849a355aae2f60b8e8fd71 (diff)
Merge "Set creatorUid to NetworkCapabilities after connection" into rvc-dev
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java b/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java
index c14f7bb69..737980f2f 100644
--- a/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java
@@ -3524,6 +3524,7 @@ public class ClientModeImplTest extends WifiBaseTest {
// should have internet capability.
assertTrue(networkCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET));
assertNull(networkCapabilities.getNetworkSpecifier());
+ assertEquals(mConnectedNetwork.creatorUid, networkCapabilities.getOwnerUid());
}
/**