[Wi-Fi] Replace some WifiEntryShell methods with WifiEntry version
These WifiEntryShell methods are removed: getNetworkId hiddenSSID isPasspoint Bug: 143326832 Test: build Change-Id: I6642992a90ea18328817cb58931cc370045b1e56
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
|
||||
package com.android.settings.wifi;
|
||||
|
||||
import android.net.wifi.WifiConfiguration;
|
||||
|
||||
import com.android.wifitrackerlib.WifiEntry;
|
||||
|
||||
/**
|
||||
@@ -50,20 +48,6 @@ public class WifiEntryShell {
|
||||
*/
|
||||
public static final int HIGHER_FREQ_5GHZ = 5900;
|
||||
|
||||
/**
|
||||
* Mapping of the corresponding {@link WifiConfiguration} field
|
||||
*/
|
||||
public static int getNetworkId(WifiEntry wifiEntry) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mapping of the corresponding {@link WifiConfiguration} field
|
||||
*/
|
||||
public static boolean hiddenSSID(WifiEntry wifiEntry) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mapping of the corresponding {@link AccessPoint} method
|
||||
*/
|
||||
@@ -73,13 +57,6 @@ public class WifiEntryShell {
|
||||
|
||||
// Passpoint methods
|
||||
|
||||
/**
|
||||
* Mapping of the corresponding {@link AccessPoint} method
|
||||
*/
|
||||
public static boolean isPasspoint(WifiEntry wifiEntry) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mapping of the corresponding {@link AccessPoint} method
|
||||
*/
|
||||
|
Reference in New Issue
Block a user