[Wi-Fi] EAP method AKA' did not pronounced as AKA prime.
Spinner did not use ttsspan to store the display string so AKA' just pronounced as AKA. To fix it, use charsequence array, which each specific array item have the ttsSpan to store the string for TTS engine. Bug: 119929832 Test: Set a 3-texts array and check if the specific array item replacement mechanism work correctly or not. Change-Id: I8e7d10da99a3f3503e1019687c45cf40070d0045
This commit is contained in:
@@ -238,6 +238,18 @@
|
||||
<item>AKA\'</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Target EAP methods that will have different TTS strings -->
|
||||
<!-- Note that this array length should be same as the wifi_eap_method_tts_strings-->
|
||||
<string-array name="wifi_eap_method_target_strings" translatable="false">
|
||||
<item>AKA\'</item>
|
||||
</string-array>
|
||||
|
||||
<!-- TTS strings for the target EAP methods -->
|
||||
<!-- Note that this array length should be same as the wifi_eap_method_target_strings-->
|
||||
<string-array name="wifi_eap_method_tts_strings" translatable="false">
|
||||
<item>AKA prime</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Type of EAP method when EAP SIM, AKA, AKA' are not supported -->
|
||||
<string-array name="eap_method_without_sim_auth" translatable="false">
|
||||
<item>PEAP</item>
|
||||
|
||||
Reference in New Issue
Block a user