wifi: adapt to multi-type config conversion

A multi-type configuration might be converted to more than 1
single-type configuration. As a result, the list checking codes
should be revised to a loose comparison.

Bug: 188570800
Test: atest WifiNetworkConfigurationWithoutFineLocationPermissionTest
Change-Id: Icef6849c89f4a5a36c83a69ab8346d91a8ec4a58
diff --git a/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/WifiNetworkConfigurationWithoutFineLocationPermissionTest.java b/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/WifiNetworkConfigurationWithoutFineLocationPermissionTest.java
index 9189e50..2aad6f5 100644
--- a/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/WifiNetworkConfigurationWithoutFineLocationPermissionTest.java
+++ b/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/WifiNetworkConfigurationWithoutFineLocationPermissionTest.java
@@ -70,7 +70,7 @@
 
         try {
             List<WifiConfiguration> configs = mWifiManager.getCallerConfiguredNetworks();
-            assertWithMessage("configured networks").that(configs).hasSize(1);
+            assertWithMessage("configured networks").that(configs).isNotEmpty();
             assertWithMessage("SSID of configured networks").that(configs.get(0).SSID)
                     .isEqualTo('"' + NETWORK_SSID + '"');
         } finally {