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));
         }