WifiConfigManagerNew: Implement enable/disableNetwork
Implement the |enableNetwork| & |disableNetwork| public methods
used to modify the network status from WifiManager API's.
Added unit-tests for verifying the new public methods.
While there,
1. Fixed a permission check bug in |updateLastConnectUid| and
added a unit test.
2. Handle invalid networkId's in all the public methods and add unit
tests for verification.
BUG: 29606491
Change-Id: I2c907ba19e50d7684befa3e24fbb4e232cd89ae7
TEST: Unit tests
2 files changed