在进入菜单 WIFI->添加网络->安全性选择(WPA/WPA2/WPA3-Enterprise)后,出现CA证书选项
需求: 在CA证书选项中添加 [不验证] 选项,选择 [不验证]选项后,选项下面出现warning信息“未指定任何证书。您的网络连接将不是私密连接”
1.添加资源数据,包含中英文
添加 warning信息“未指定任何证书。您的网络连接将不是私密连接”
添加 [不验证] 选项
修改点packages/apps/Settings
diff --git a/res/layout/wifi_network_config.xml b/res/layout/wifi_network_config.xml
index 6fe39bf026..3e1665de8f 100644
--- a/res/layout/wifi_network_config.xml
+++ b/res/layout/wifi_network_config.xml
@@ -205,6 +205,18 @@
android:prompt="@string/wifi_eap_min_tls_ver"/>
</LinearLayout>
+ <LinearLayout android:id="@+id/no_ca_cert_warning"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone"
+ style="@style/wifi_item" >
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ style="@style/wifi_item_warning"
+ android:text="@string/wifi_do_not_validate_eap_server_warning" />
+ </LinearLayout>
+
<LinearLayout android:id="@+id/l_ocsp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/values-zh-rCN/strings.xml b/res/values-zh-rCN/strings.xml
index 472848dd4d..685b7d8145 100644
--- a/res/values-zh-rCN/strings.xml
+++ b/res/values-zh-rCN/strings.xml
@@ -824,6 +824,8 @@
<string name="wifi_multiple_cert_added" msgid="2151019652853383776">"(已添加多份证书)"</string>
<string name="wifi_use_system_certs" msgid="5587866698144996931">"使用系统证书"</string>
<string name="wifi_do_not_provide_eap_user_cert" msgid="6336636553673065145">"不提供"</string>
+ <string name&#