Merge "osu: remove calls to deprecated APIs" am: e9514808d7

am: 30874ed6ed

Change-Id: I43093bf243cb249ad892bdf94ea9781ca734e239
This commit is contained in:
Peter Qiu
2016-11-15 04:23:21 +00:00
committed by android-build-merger

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 {