From e8ea325716621405ffb279496ca4273461145210 Mon Sep 17 00:00:00 2001 From: Paul Stewart Date: Thu, 24 Mar 2016 14:56:28 -0700 Subject: [PATCH] WifiConfiguration: Remove dead commented code Nobody uses this code. Let's clean up. Bug: 27054653 Change-Id: I7b3dccd09de270de6fd5a17da3217495dbce421a --- .../android/net/wifi/WifiConfiguration.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/wifi/java/android/net/wifi/WifiConfiguration.java b/wifi/java/android/net/wifi/WifiConfiguration.java index 7dc8049595f72..fd0fd883e2a12 100644 --- a/wifi/java/android/net/wifi/WifiConfiguration.java +++ b/wifi/java/android/net/wifi/WifiConfiguration.java @@ -1546,18 +1546,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 ""; @@ -1870,11 +1858,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) {