commit | f8f902819d8400e9b4bf33396f6b46f0fb1cba0e | [log] [tgz] |
---|---|---|
author | Nate Jiang <qiangjiang@google.com> | Mon Mar 15 15:50:03 2021 -0700 |
committer | Nate Jiang <qiangjiang@google.com> | Mon Mar 15 15:50:03 2021 -0700 |
tree | b8e08cbba9e68042be3cf948d7f31067c4a48178 | |
parent | 318d14f4716060b5f43038e81f0098dacddffbdf [diff] |
Use getProfileKeyInternal() for S on R. Bug: 181195939 Test: atest SupplicantStaIfaceHalTest on both R and S Change-Id: I05029354435bd2280dc46d1b49f0b7f9e7ce8c0c
diff --git a/service/tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java b/service/tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java index efb76fe..aed0070 100644 --- a/service/tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java +++ b/service/tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java
@@ -2944,7 +2944,7 @@ when(linkedNetworkHandle.select()).thenReturn(true); mDut.setStaNetworkMockable(linkedNetworkHandle); final HashMap<String, WifiConfiguration> linkedNetworks = new HashMap<>(); - linkedNetworks.put(roamingConfig.getProfileKey(), roamingConfig); + linkedNetworks.put(roamingConfig.getProfileKeyInternal(), roamingConfig); assertTrue(mDut.updateLinkedNetworks( WLAN0_IFACE_NAME, connectedNetworkId, linkedNetworks)); }