passpoint-r2: remove WifiConfiguration when removing a passpoint profile

After moving removeAllEphemeralOrPasspointConfiguredNetworks API from
disconnected state to disabled state, Passpoint configuration still
exists in the memory until wifi is off.
However, if we remove the Passpoint profile, we need to remove the
corresponding WifiConfiguration.
Otherwise, wifi picker shows the Access point with current
configurations as "SSID available via service name"

Bug: 121223278
Test:./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: tested with R1 and R2 AP under the test scenario.
Change-Id: I7284e30f2e2e561712d35832a0c38a43f7893305
Signed-off-by: Ecco Park <eccopark@google.com>
4 files changed