Update return value for Passpoint configuration APIs am: 96bda08a12
am: a140592a35
Change-Id: Ic540d6ace0a62b3bf3e5f80713b9711a66d1689d
diff --git a/Common/src/com/googlecode/android_scripting/facade/wifi/WifiManagerFacade.java b/Common/src/com/googlecode/android_scripting/facade/wifi/WifiManagerFacade.java
index 05e7b3c..76b99b0 100755
--- a/Common/src/com/googlecode/android_scripting/facade/wifi/WifiManagerFacade.java
+++ b/Common/src/com/googlecode/android_scripting/facade/wifi/WifiManagerFacade.java
@@ -590,11 +590,11 @@
* @throws JSONException
*/
@Rpc(description = "Add or update a Passpoint configuration")
- public boolean addUpdatePasspointConfig(@RpcParameter(
+ public void addUpdatePasspointConfig(@RpcParameter(
name = "config") JSONObject config)
throws JSONException,CertificateException, IOException {
PasspointConfiguration passpointConfig = genWifiPasspointConfig(config);
- return mWifi.addOrUpdatePasspointConfiguration(passpointConfig);
+ mWifi.addOrUpdatePasspointConfiguration(passpointConfig);
}
/**
@@ -602,10 +602,10 @@
* @param fqdn The FQDN of the passpoint configuration to be removed
* @return true on success; false otherwise
*/
- @Rpc(description = "Remove a Passpoint configuration", returns = "true if operation succeeds; false otherwise")
- public boolean removePasspointConfig(
+ @Rpc(description = "Remove a Passpoint configuration")
+ public void removePasspointConfig(
@RpcParameter(name = "fqdn") String fqdn) {
- return mWifi.removePasspointConfiguration(fqdn);
+ mWifi.removePasspointConfiguration(fqdn);
}
/**