AndroidUtilCode
AndroidUtilCode copied to clipboard
android 10 版本打开wifi 方式已经失效,能否适配下新的方式?
Android 10 好像需要跳转到设置界面手动打开wif
Intent panelIntent = new Intent(Settings.Panel.ACTION_INTERNET_CONNECTIVITY); startActivityForResult(panelIntent);
https://stackoverflow.com/questions/58075596/turning-on-wifi-using-wifimanager-stops-to-work-on-android-10/63262649#63262649
提 pr 上来