summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorNate Jiang <qiangjiang@google.com>2020-02-19 19:34:09 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-02-19 19:34:09 +0000
commit4c1a0dd86a871d12e1fb5294b3bc002b13b10358 (patch)
treef30e5000e8b1e36613e5170bb58d8b74e7693872 /service
parent1111e361ac482e394647776f4c00e4603c342375 (diff)
parent7f1d0a91fb6d83037688f1231f0c9d0048514a7d (diff)
Merge "Fix networkSuggestion connection after OTA"
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/NetworkSuggestionNominator.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/service/java/com/android/server/wifi/NetworkSuggestionNominator.java b/service/java/com/android/server/wifi/NetworkSuggestionNominator.java
index 8a298afc8..61afce1ea 100644
--- a/service/java/com/android/server/wifi/NetworkSuggestionNominator.java
+++ b/service/java/com/android/server/wifi/NetworkSuggestionNominator.java
@@ -169,8 +169,7 @@ public class NetworkSuggestionNominator implements WifiNetworkSelector.NetworkNo
int creatorUid = wCmConfiguredNetwork.creatorUid;
Set<ExtendedWifiNetworkSuggestion> matchingExtNetworkSuggestionsFromSamePackage =
autojoinEnableSuggestions.stream()
- .filter(ewns -> ewns.wns.wifiConfiguration.creatorUid
- == creatorUid)
+ .filter(ewns -> ewns.perAppInfo.uid == creatorUid)
.collect(Collectors.toSet());
if (matchingExtNetworkSuggestionsFromSamePackage.isEmpty()) {
continue;