WifiConfigManager: Add methods to remove suggestion/passpoint networks
Changes:
a) Cleanup an existing method in WifiConfigManager to remove any
WifiConfiguration created for a passpoint profile.
b) Add a new method to remove any WifiConfiguration created for a
network suggestion.
c) Use these new API's directly from WifiNetworkSuggestionsManager &
PasspointManager.
This helps us avoid having circular dependency between ClientModeImpl
and some of these internal classes.
Note: Changes to trigger disconnect on any such removal in
ClientModeImpl will follow.
Bug: 138403307
Bug: 117601161
Test: atest com.android.server.wifi
Change-Id: If3d0f4f79049a0429fbb56587e36fd1f803db35a
8 files changed