WifiService:Fix profile can't be updated when SIM changed

Because the homeSP is stored by Map structure.and the key is
"homeSP.getFQDN()" value is homeSP. For the same Passpoint AP,
the homeSP.getFQDN() is always same.so once you connect the AP
with one TMO SIM,the PerProviderSubscription.conf will created
and stored which contains the special IMSI.but at this time ,
if you change to another TMO SIM(IMSI changed),the mSPs already
has the key(Same AP). Cause the PerProviderSubscription.conf never
be updated to the latest,then the device can not connect to AP
successfully.So it should not only judge whether "homeSP.getFQDN()"
existed but also the content.especially,IMSI.Because the IMSI is
the key point for verification whether valid.

Change-Id: I7cae4de65d3fd80abfa7c7b57dd4f1d0129a069e
CRs-fixed: 1039339
1 file changed
tree: 0c91d5f94be5b2777bdbb75bc711a1d7da672fce
  1. service/
  2. tests/