OSDN Git Service

wifi: managed Passpoint configurations in "Saved Networks" page
authorPeter Qiu <zqiu@google.com>
Tue, 14 Mar 2017 22:53:20 +0000 (15:53 -0700)
committerPeter Qiu <zqiu@google.com>
Wed, 29 Mar 2017 20:57:32 +0000 (13:57 -0700)
commitae727fbb73e5fd47bc7302af101fd1b7672971e4
treeb24f1feb39af67b01a14f72d51922a6fb397ac1d
parent32924e2f58625301fbb95adb5e1c9d54f97cc1d5
wifi: managed Passpoint configurations in "Saved Networks" page

Instead of going through WifiTracker to retrieve saved network
configurations (including both WiFi networks and Passpoint provider
configurations), use the WifiManager's APIs to retrieve the
configurations directly, to avoid any unnecessary complexities.

Also update to use the appropriate APIs for configuration removal
based on the configuration type.

Bug: 34207710
Test: manual test by removing a Passpoint configuration from
      "Saved Networks" page.

Change-Id: I549cc484d8825b6c38895428c1b7941390bb5f1f
src/com/android/settings/wifi/SavedAccessPointsWifiSettings.java
src/com/android/settings/wifi/WifiConfigController.java