Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5cb63c1e authored by Nate Jiang's avatar Nate Jiang
Browse files

Relace getKey with getProfileKey

Bug: 142035508
Test: atest andoir.net.wifi
Change-Id: Id8b4b77627d8d1acda32d78df5165b6fdfbd13f3
parent b63b76ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1488,7 +1488,7 @@ public class WifiManager {
                            new ArrayList<>(results.keySet()));
            for (WifiConfiguration configuration : wifiConfigurations) {
                Map<Integer, List<ScanResult>> scanResultsPerNetworkType =
                        results.get(configuration.getKey());
                        results.get(configuration.getProfileKey());
                if (scanResultsPerNetworkType != null) {
                    configs.add(Pair.create(configuration, scanResultsPerNetworkType));
                }