Use correct method for checking NETWORK_SETUP_WIZARD permission
New Passpoint and DPP APIs were not using the correct methods for
checking NETWORK_SETUP_WIZARD and NETWORK_SETTINGS permissions.
Updated the code to use the correct method.
Bug: 134618695
Test: act.py -c ../WifiDppConfig.json -tc WifiDppTest
Test: atest PasspointConfigSharedStoreDataTest PasspointNetworkEvaluatorTest PasspointProvisionerTest PasspointNetworkScoreTest PasspointXmlUtilsTest PasspointEventHandlerTest PasspointProviderTest PasspointManagerTest PasspointConfigUserStoreDataTest
Test: Connect to Passpoint OSU network
Test: atest DppManagerTest
Test: atest WifiServiceImplTest
Change-Id: I54d0ac31150c478fea7ec0a4ede36bd40240d662
2 files changed