diff options
| -rw-r--r-- | wifi/java/android/net/wifi/IWifiManager.aidl | 4 | ||||
| -rw-r--r-- | wifi/java/android/net/wifi/WifiManager.java | 34 |
2 files changed, 0 insertions, 38 deletions
diff --git a/wifi/java/android/net/wifi/IWifiManager.aidl b/wifi/java/android/net/wifi/IWifiManager.aidl index 706b29495c21..a91c9491c60a 100644 --- a/wifi/java/android/net/wifi/IWifiManager.aidl +++ b/wifi/java/android/net/wifi/IWifiManager.aidl @@ -97,10 +97,6 @@ interface IWifiManager String getCountryCode(); - void setFrequencyBand(int band, boolean persist); - - int getFrequencyBand(); - boolean isDualBandSupported(); boolean saveConfiguration(); diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index 955161cf538b..d04a60ecdfd2 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -1376,40 +1376,6 @@ public class WifiManager { } /** - * Set the operational frequency band. - * @param band One of - * {@link #WIFI_FREQUENCY_BAND_AUTO}, - * {@link #WIFI_FREQUENCY_BAND_5GHZ}, - * {@link #WIFI_FREQUENCY_BAND_2GHZ}, - * @param persist {@code true} if this needs to be remembered - * @hide - */ - public void setFrequencyBand(int band, boolean persist) { - try { - mService.setFrequencyBand(band, persist); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - } - - /** - * Get the operational frequency band. - * @return One of - * {@link #WIFI_FREQUENCY_BAND_AUTO}, - * {@link #WIFI_FREQUENCY_BAND_5GHZ}, - * {@link #WIFI_FREQUENCY_BAND_2GHZ} or - * {@code -1} on failure. - * @hide - */ - public int getFrequencyBand() { - try { - return mService.getFrequencyBand(); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - } - - /** * Check if the chipset supports dual frequency band (2.4 GHz and 5 GHz) * @return {@code true} if supported, {@code false} otherwise. * @hide |