Merge "WifiConfiguration: Remove dead commented code" into nyc-dev
am: 0a835f6
* commit '0a835f6e43cd52c88438d801d4fedda963ca147d':
WifiConfiguration: Remove dead commented code
This commit is contained in:
@@ -1556,18 +1556,6 @@ public class WifiConfiguration implements Parcelable {
|
|||||||
return sbuf.toString();
|
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} */
|
/** {@hide} */
|
||||||
public String getPrintableSsid() {
|
public String getPrintableSsid() {
|
||||||
if (SSID == null) return "";
|
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} */
|
/** Implement the Parcelable interface {@hide} */
|
||||||
@Override
|
@Override
|
||||||
public void writeToParcel(Parcel dest, int flags) {
|
public void writeToParcel(Parcel dest, int flags) {
|
||||||
|
|||||||
Reference in New Issue
Block a user