summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorRandy Pan <zpan@google.com>2016-08-25 23:07:37 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-08-25 23:07:37 +0000
commit8d43400ab673700546876f922c5f96e8866633ee (patch)
treee697b079cb46e33a9250f7fa209da9b2b4d8078f /service
parent9e97612852695c20fa8c4c30ab9dc95bd9063080 (diff)
parentce8a5e36ebb810f8ffba6bbfe091e05b7011cff6 (diff)
Track if untrusted wifi network is allowed am: 41b85e0341 am: f8a278fee2
am: ce8a5e36eb Change-Id: Id1e316fe76f14630ae04a2f9e5a8514fe3de37af
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiStateMachine.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiStateMachine.java b/service/java/com/android/server/wifi/WifiStateMachine.java
index ead1aca57..47dca18d1 100644
--- a/service/java/com/android/server/wifi/WifiStateMachine.java
+++ b/service/java/com/android/server/wifi/WifiStateMachine.java
@@ -4293,6 +4293,7 @@ public class WifiStateMachine extends StateMachine implements WifiNative.WifiRss
WifiStateMachine.this, mWifiScanner, mWifiConfigManager, mWifiInfo,
mWifiQualifiedNetworkSelector, mWifiInjector,
getHandler().getLooper(), hasConnectionRequests());
+ mWifiConnectivityManager.setUntrustedConnectionAllowed(mUntrustedReqCount > 0);
}
}