我们从setting 入口开始分析该过程;
1.setting界面
packages\apps\Settings\src\com\android\settings\wifi\WifiSettings.java 创建Dialog2
@Override public Dialog onCreateDialog(int dialogId) { switch (dialogId) { case WIFI_DIALOG_ID: // modify network mDialog = WifiDialog2 .createModal(getActivity(), this, mDialogWifiEntry, mDialogMode); return mDialog; default: return super.onCreateDialog(dialogId); } }
标签:onCreateDialog,return,dialogId,WiFi,setting,Android,连接 From: https://www.cnblogs.com/wanglongjiang/p/17703075.html