Merge "osu: remove calls to deprecated APIs"

This commit is contained in:
Treehugger Robot
2016-11-15 03:59:57 +00:00
committed by Gerrit Code Review

View File

@@ -134,8 +134,8 @@ public class WifiNetworkAdapter {
public HomeSP addSP(MOTree instanceTree) throws IOException, SAXException { public HomeSP addSP(MOTree instanceTree) throws IOException, SAXException {
WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
String xml = instanceTree.toXml(); String xml = instanceTree.toXml();
wifiManager.addPasspointManagementObject(xml); // TODO(b/32883320): use the new API for adding Passpoint configuration.
return MOManager.buildSP(xml); return null;
} }
public void removeSP(String fqdn) throws IOException { public void removeSP(String fqdn) throws IOException {