更新时间:2021-06-27 22:14:10
如果您的应用程序是特权应用程序(例如,使用SuperUser安装在/system/priv-app
中),则可以在Lollipop中使用新的WifiManager#getPrivilegedConfiguredNetworks()
API和更高版本.
If your application is a privileged app (that is - installed in /system/priv-app
for example using SuperUser) then you can use the new WifiManager#getPrivilegedConfiguredNetworks()
API in Lollipop and newer.