Passpoint: remove the passpoint profiles when removing/disabling an app.

It is required to avoid auto-connection by the passpoint profiles
installed by the app which is disabled or uninstalled by user.

If the current network is for the removed Passpoint profile, disconnect
current network.

Bug: 129964730
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: tested with R1 and R2 flow for connection.
Change-Id: Ic650b522b0bbc979727a2c069c4af51512001527
Signed-off-by: Ecco Park <eccopark@google.com>
12 files changed
tree: 8687c0fae62f95513de264643f4a1bcd68d0963d
  1. service/
  2. PREUPLOAD.cfg