Wifi: Fix null pointer exception in mInfo & mNetworkInfo
For access points which are not currently connected, mInfo and
mNetworkInfo objects are set to NULL. These access points are accessed in
Settings application context when UI is updated. Hence there are race
conditions where mInfo and mNetworkInfo objects are accessed when they set
to NULL.
To fix this issue use separate flag(isCurrentConnected) to indicate the
saved networks.
CRs-Fixed: 1106822
Change-Id: I9d387dedb810a548d3873fff79afe39a04358f28
1 file changed