[Wi-Fi] Support multi-SIM for SIM dependent EAP methods
Before this change, users are not able to choose SIM card for SIM dependent EAP methods when a device supports multi-SIM. This change support to choose a SIM when adding an EAP Wi-Fi network. And this change support to show the related SIM information on Wi-Fi detail screen. Bug: 142792009 Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.WifiConfigControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.WifiConfigController2Test make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.details2.WifiDetailPreferenceController2Test Manually add an EAP Wi-Fi network of EAP-SIM type, observe the value in Wi-Fi detail screen. Change-Id: I2910931166dc6541897663857c46abcc1b3115fa
This commit is contained in:
@@ -11485,6 +11485,17 @@
|
||||
<!-- Message informs the user that has no SIM card in personalized Settings [CHAR LIMIT=30] -->
|
||||
<string name="no_sim_card">No SIM card</string>
|
||||
|
||||
<!-- A title for a SIM card spinner UI component which users can choose a SIM card. [CHAR LIMIT=NONE] -->
|
||||
<string name="sim_card">SIM</string>
|
||||
<!-- A label when there is no SIM card to choose. [CHAR LIMIT=NONE] -->
|
||||
<string name="wifi_no_sim_card">No SIM</string>
|
||||
<!-- A label when there is no SIM card information of a Wi-Fi network. [CHAR LIMIT=NONE] -->
|
||||
<string name="wifi_no_related_sim_card">None</string>
|
||||
<!-- A label wen a user needs a SIM to connect to the Wi-Fi network. [CHAR LIMIT=NONE] -->
|
||||
<string name="wifi_require_sim_card_to_connect">Requires SIM to connect</string>
|
||||
<!-- A label wen a user needs a specific SIM to connect to the Wi-Fi network. [CHAR LIMIT=NONE] -->
|
||||
<string name="wifi_require_specific_sim_card_to_connect">Requires <xliff:g id="wireless_carrier" example="Verizon">%s</xliff:g> SIM to connect</string>
|
||||
|
||||
<!-- The following strings are summaries for preferred network modes in Mobile network settings,
|
||||
and have a character limit of 100 -->
|
||||
<!-- WCDMA preferred [CHAR LIMIT=NONE] -->
|
||||
|
Reference in New Issue
Block a user