summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/wifi/WifiLayer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/wifi/WifiLayer.java')
-rw-r--r--src/com/android/settings/wifi/WifiLayer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/settings/wifi/WifiLayer.java b/src/com/android/settings/wifi/WifiLayer.java
index b29fd92..b0857d2 100644
--- a/src/com/android/settings/wifi/WifiLayer.java
+++ b/src/com/android/settings/wifi/WifiLayer.java
@@ -94,7 +94,7 @@ public class WifiLayer {
private boolean mIsObtainingAddress;
/**
- * See {@link Settings.System#WIFI_NUM_OPEN_NETWORKS_KEPT}.
+ * See {@link android.provider.Settings.Secure#WIFI_NUM_OPEN_NETWORKS_KEPT}.
*/
private int WIFI_NUM_OPEN_NETWORKS_KEPT;
/**
@@ -229,8 +229,8 @@ public class WifiLayer {
mIntentFilter.addAction(WifiManager.RSSI_CHANGED_ACTION);
mIntentFilter.addAction(WifiManager.NETWORK_IDS_CHANGED_ACTION);
- WIFI_NUM_OPEN_NETWORKS_KEPT = Settings.System.getInt(mContext.getContentResolver(),
- Settings.System.WIFI_NUM_OPEN_NETWORKS_KEPT, 10);
+ WIFI_NUM_OPEN_NETWORKS_KEPT = Settings.Secure.getInt(mContext.getContentResolver(),
+ Settings.Secure.WIFI_NUM_OPEN_NETWORKS_KEPT, 10);
}
/**