【WLAN】Android 13 WIFI 连接流程

1 .packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java

1021      @Override
1022      public void onSubmit(WifiDialog2 dialog) {
1023          final int dialogMode = dialog.getMode();
1024          final WifiConfiguration config = dialog.getController().getConfig();
1025          final WifiEntry wifiEntry = dialog.getWifiEntry();
1026  
1027          if (dialogMode == WifiConfigUiBase2.MODE_MODIFY) {
1028              if (config == null) {
1029                  Toast.makeText(getContext(), R.string.wifi_failed_save_message,
1030                          Toast.LENGTH_SHORT).show();
1031              } else {
1032                  mWifiManager.save(config, mSaveListener); /

你可能感兴趣的:(WIFI,android,java,android,studio)