summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java
index 4bba228a3..72908d795 100644
--- a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java
+++ b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/PasspointWifiEntry.java
@@ -298,19 +298,17 @@ class PasspointWifiEntry extends WifiEntry {
@Override
public boolean isAutoJoinEnabled() {
- // TODO(b/70983952): Fill this method in
- return false;
+ return mPasspointConfig.isAutojoinEnabled();
}
@Override
public boolean canSetAutoJoinEnabled() {
- // TODO(b/70983952): Fill this method in
- return false;
+ return true;
}
@Override
public void setAutoJoinEnabled(boolean enabled) {
- // TODO(b/70983952): Fill this method in
+ mWifiManager.allowAutojoinPasspoint(mPasspointConfig.getHomeSp().getFqdn(), enabled);
}
@Override