diff --git a/api/current.txt b/api/current.txt index 8bfb6f41d9d1b..72351443ea1e4 100644 --- a/api/current.txt +++ b/api/current.txt @@ -24788,13 +24788,13 @@ package android.net.wifi { method public boolean isScanAlwaysAvailable(); method public boolean isTdlsSupported(); method public boolean isWifiEnabled(); - method public boolean pingSupplicant(); + method public deprecated boolean pingSupplicant(); method public void queryPasspointIcon(long, java.lang.String); method public boolean reassociate(); method public boolean reconnect(); method public boolean removeNetwork(int); method public boolean removePasspointConfiguration(java.lang.String); - method public boolean saveConfiguration(); + method public deprecated boolean saveConfiguration(); method public void setTdlsEnabled(java.net.InetAddress, boolean); method public void setTdlsEnabledWithMacAddress(java.lang.String, boolean); method public boolean setWifiEnabled(boolean); diff --git a/api/system-current.txt b/api/system-current.txt index dc50647bf9840..e1a45685b0868 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -27172,13 +27172,13 @@ package android.net.wifi { method public boolean isWifiApEnabled(); method public boolean isWifiEnabled(); method public boolean isWifiScannerSupported(); - method public boolean pingSupplicant(); + method public deprecated boolean pingSupplicant(); method public void queryPasspointIcon(long, java.lang.String); method public boolean reassociate(); method public boolean reconnect(); method public boolean removeNetwork(int); method public boolean removePasspointConfiguration(java.lang.String); - method public boolean saveConfiguration(); + method public deprecated boolean saveConfiguration(); method public void setTdlsEnabled(java.net.InetAddress, boolean); method public void setTdlsEnabledWithMacAddress(java.lang.String, boolean); method public boolean setWifiApConfiguration(android.net.wifi.WifiConfiguration); diff --git a/api/test-current.txt b/api/test-current.txt index 8c5bf74f92fb1..ba955c7dc4166 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -24862,13 +24862,13 @@ package android.net.wifi { method public boolean isScanAlwaysAvailable(); method public boolean isTdlsSupported(); method public boolean isWifiEnabled(); - method public boolean pingSupplicant(); + method public deprecated boolean pingSupplicant(); method public void queryPasspointIcon(long, java.lang.String); method public boolean reassociate(); method public boolean reconnect(); method public boolean removeNetwork(int); method public boolean removePasspointConfiguration(java.lang.String); - method public boolean saveConfiguration(); + method public deprecated boolean saveConfiguration(); method public void setTdlsEnabled(java.net.InetAddress, boolean); method public void setTdlsEnabledWithMacAddress(java.lang.String, boolean); method public boolean setWifiEnabled(boolean); diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index 3fb8ef3e2de30..ed6a166d3fc66 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -838,7 +838,8 @@ public class WifiManager { } /** - * Return a list of all the networks configured in the supplicant. + * Return a list of all the networks configured for the current foreground + * user. * Not all fields of WifiConfiguration are returned. Only the following * fields are filled in: *