summaryrefslogtreecommitdiffstats
path: root/service/java/com/android/server/wifi/WifiNetworkFactory.java
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2018-11-08 09:08:50 -0800
committerRoshan Pius <rpius@google.com>2018-11-16 16:30:41 -0800
commitd3d1ee9b20091210e037449ed144ef4bb83c1fbc (patch)
treedcc89eddaf9b2985911a3332a492bb216424134b /service/java/com/android/server/wifi/WifiNetworkFactory.java
parent48aa05701730ec031603c311de057d106eee65fc (diff)
downloadandroid_frameworks_opt_net_wifi-d3d1ee9b20091210e037449ed144ef4bb83c1fbc.tar.gz
android_frameworks_opt_net_wifi-d3d1ee9b20091210e037449ed144ef4bb83c1fbc.tar.bz2
android_frameworks_opt_net_wifi-d3d1ee9b20091210e037449ed144ef4bb83c1fbc.zip
WifiNetworkSelector: Mark WFA networks as untrusted
Plumb the new WifiConfiguration.trusted flag through the wifi stack. Only the network configurations created for WFA via ScoredNetworkEvaluator will be marked untrusted. The rest of the network configurations are trusted by default. Bug: 113878056 Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ic49252a2d99f2c7a35251de37e1f3a1843b20da2
Diffstat (limited to 'service/java/com/android/server/wifi/WifiNetworkFactory.java')
-rw-r--r--service/java/com/android/server/wifi/WifiNetworkFactory.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/WifiNetworkFactory.java b/service/java/com/android/server/wifi/WifiNetworkFactory.java
index aaf2b2e6b..7ed98012e 100644
--- a/service/java/com/android/server/wifi/WifiNetworkFactory.java
+++ b/service/java/com/android/server/wifi/WifiNetworkFactory.java
@@ -454,7 +454,6 @@ public class WifiNetworkFactory extends NetworkFactory {
cancelPeriodicScans();
// Mark the network ephemeral so that it's automatically removed at the end of connection.
- // TODO(b/113878056): This marks the network untrusted currently, need to handle that.
network.ephemeral = true;
// Send the connect request to ClientModeImpl.