summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/AllInOneTetherSettings.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/AllInOneTetherSettings.java')
-rw-r--r--src/com/android/settings/AllInOneTetherSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/AllInOneTetherSettings.java b/src/com/android/settings/AllInOneTetherSettings.java
index 5442ed7fef..82e3206e49 100644
--- a/src/com/android/settings/AllInOneTetherSettings.java
+++ b/src/com/android/settings/AllInOneTetherSettings.java
@@ -355,7 +355,7 @@ public class AllInOneTetherSettings extends RestrictedDashboardFragment
@Override
public void onTetherConfigUpdated(AbstractPreferenceController controller) {
final SoftApConfiguration config = buildNewConfig();
- mPasswordPreferenceController.setSecurityType(config.getSecurityType());
+ mPasswordPreferenceController.updateVisibility(config.getSecurityType());
mWifiManager.setSoftApConfiguration(config);
if (mWifiManager.getWifiApState() == WifiManager.WIFI_AP_STATE_ENABLED) {