diff --git a/wifi/java/android/net/wifi/IWifiManager.aidl b/wifi/java/android/net/wifi/IWifiManager.aidl index bc382848a59b1..b3ae030af803e 100644 --- a/wifi/java/android/net/wifi/IWifiManager.aidl +++ b/wifi/java/android/net/wifi/IWifiManager.aidl @@ -59,11 +59,6 @@ interface IWifiManager int addOrUpdateNetwork(in WifiConfiguration config); - int addPasspointManagementObject(String mo); - - int modifyPasspointManagementObject(String fqdn, - in List mos); - boolean addPasspointConfiguration(in PasspointConfiguration config); boolean removePasspointConfiguration(in String fqdn); diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index 98a6ca58b1c3e..c2e17ed3bbc13 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -841,36 +841,6 @@ public class WifiManager { } } - /** - * Add a Hotspot 2.0 release 2 Management Object - * @param mo The MO in XML form - * @return -1 for failure - * @hide - */ - public int addPasspointManagementObject(String mo) { - try { - return mService.addPasspointManagementObject(mo); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - } - - /** - * Modify a Hotspot 2.0 release 2 Management Object - * @param fqdn The FQDN of the service provider - * @param mos A List of MO definitions to be updated - * @return the number of nodes updated, or -1 for failure - * @hide - */ - public int modifyPasspointManagementObject(String fqdn, - List mos) { - try { - return mService.modifyPasspointManagementObject(fqdn, mos); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - } - /** * Add a Passpoint configuration. The configuration provides a credential * for connecting to Passpoint networks that are operated by the Passpoint