summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Peter Qiu <zqiu@google.com> 2016-11-16 00:26:28 +0000
committer android-build-merger <android-build-merger@google.com> 2016-11-16 00:26:28 +0000
commit996986254f05d56e16d8ddeab89162cadd76e172 (patch)
tree9f4bcc4197f4fa88c75342f58a68d4cc09fa078f
parentffa68753f88886140e4fd96200190cef06aca23a (diff)
parent31b8e658d38dd9089cef407cc5298be52abfbc51 (diff)
wifi: remove hidden unused Hotspot 2.0 Release 2 APIs am: a38558b539 am: a9a9a9bb8d
am: 31b8e658d3 Change-Id: Ifce7abfb578e5b7d0a3d5c964926537e16ef3a2b
-rw-r--r--wifi/java/android/net/wifi/IWifiManager.aidl5
-rw-r--r--wifi/java/android/net/wifi/WifiManager.java30
2 files changed, 0 insertions, 35 deletions
diff --git a/wifi/java/android/net/wifi/IWifiManager.aidl b/wifi/java/android/net/wifi/IWifiManager.aidl
index bc382848a59b..b3ae030af803 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<PasspointManagementObjectDefinition> 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 98a6ca58b1c3..c2e17ed3bbc1 100644
--- a/wifi/java/android/net/wifi/WifiManager.java
+++ b/wifi/java/android/net/wifi/WifiManager.java
@@ -842,36 +842,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<PasspointManagementObjectDefinition> 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
* service provider specified in the configuration.