Merge "WifiConfiguration: Remove dead commented code" into nyc-dev

This commit is contained in:
Paul Stewart
2016-03-25 03:42:09 +00:00
committed by Android (Google) Code Review

View File

@@ -1556,18 +1556,6 @@ public class WifiConfiguration implements Parcelable {
return sbuf.toString();
}
/**
* Construct a WifiConfiguration from a scanned network
* @param scannedAP the scan result used to construct the config entry
* TODO: figure out whether this is a useful way to construct a new entry.
*
public WifiConfiguration(ScanResult scannedAP) {
networkId = -1;
SSID = scannedAP.SSID;
BSSID = scannedAP.BSSID;
}
*/
/** {@hide} */
public String getPrintableSsid() {
if (SSID == null) return "";
@@ -1881,11 +1869,6 @@ public class WifiConfiguration implements Parcelable {
}
}
/** {@hide} */
//public static final int NOTHING_TAG = 0;
/** {@hide} */
//public static final int SCAN_CACHE_TAG = 1;
/** Implement the Parcelable interface {@hide} */
@Override
public void writeToParcel(Parcel dest, int flags) {