Show intro and footer string according to the device's supported status
Bug: 390078046 Bug: 386121967 Test: atest HearingAidHelperTest HearingDeviceFooterPreferenceControllerTest HearingDeviceIntroPreferenceControllerTest BluetoothDetailsHearingDeviceSettingsControllerTest Flag: EXEMPT bugfix Change-Id: I564cdb80cd14f4d2d8e882b64db939449c6936b7 Signed-off-by: Jie Wang <jie.x.wang@sony.com> Signed-off-by: Jason Hsu <jasonwshsu@google.com>
This commit is contained in:
@@ -5733,8 +5733,12 @@
|
||||
<string name="accessibility_hearingaid_instruction_continue_button">Continue</string>
|
||||
<!-- Title for the accessibility preference for hearing devices. [CHAR LIMIT=35] -->
|
||||
<string name="accessibility_hearingaid_title">Hearing devices</string>
|
||||
<!-- Introduction for the Hearing devices page to introduce feature. [CHAR LIMIT=NONE BACKUP_MESSAGE_ID=5856992709195963850] -->
|
||||
<!-- Introduction for the Hearing devices page to introduce feature. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_hearingaid_intro">Set up and manage ASHA and LE Audio hearing aids, cochlear implants, and other amplification devices</string>
|
||||
<!-- Introduction for the Hearing devices page to introduce feature. This string is for device that only supports ASHA hearing aids. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_hearingaid_asha_only_intro">Set up and manage ASHA hearing aids, cochlear implants, and other amplification devices</string>
|
||||
<!-- Introduction for the Hearing devices page to introduce feature. This string is for device that only supports LE Audio hearing aids. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_hearingaid_hap_only_intro">Set up and manage LE Audio hearing aids, cochlear implants, and other amplification devices</string>
|
||||
<!-- Summary for the accessibility preference for hearing aid when not connected. [CHAR LIMIT=50] -->
|
||||
<string name="accessibility_hearingaid_not_connected_summary">No hearing devices connected</string>
|
||||
<!-- Summary for the accessibility preference for hearing aid when adding new devices. [CHAR LIMIT=50] -->
|
||||
@@ -5769,10 +5773,18 @@
|
||||
<string name="accessibility_hac_mode_summary">Improves compatibility with telecoils and reduces unwanted noise</string>
|
||||
<!-- Title for accessibility hearing device page footer. [CHAR LIMIT=40] -->
|
||||
<string name="accessibility_hearing_device_about_title">About hearing devices</string>
|
||||
<!-- Description for text in accessibility hearing aids footer. [CHAR LIMIT=NONE BACKUP_MESSAGE_ID=7451899224828040581] -->
|
||||
<!-- Description for text in accessibility hearing aids footer. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_hearing_device_footer_summary"><![CDATA[To find other hearing devices that aren’t supported by ASHA or LE Audio, tap <b>Pair new device</b> > <b>See more devices</b>]]></string>
|
||||
<!-- Content description for text in accessibility hearing aids footer to be announce. Replace '>' to 'then' compare to non tts version. [CHAR LIMIT=NONE BACKUP_MESSAGE_ID=7451899224828040581] -->
|
||||
<!-- Content description for text in accessibility hearing aids footer to be announce. Replace '>' to 'then' compare to non tts version. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_hearing_device_footer_summary_tts">To find other hearing devices that aren’t supported by ASHA or LE Audio, tap <b>Pair new device</b> then <b>See more devices</b></string>
|
||||
<!-- Description for text in accessibility hearing aids footer. This string is for device that only supports ASHA hearing aids. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_hearing_device_footer_asha_only_summary"><![CDATA[To find other hearing devices that aren’t supported by ASHA, tap <b>Pair new device</b> > <b>See more devices</b>]]></string>
|
||||
<!-- Content description for text in accessibility hearing aids footer to be announce. This string is for device that only supports ASHA hearing aids. Replace '>' to 'then' compare to non tts version. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_hearing_device_footer_asha_only_summary_tts">To find other hearing devices that aren’t supported by ASHA, tap <b>Pair new device</b> then <b>See more devices</b></string>
|
||||
<!-- Description for text in accessibility hearing aids footer. This string is for device that only supports LE Audio hearing aids. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_hearing_device_footer_hap_only_summary"><![CDATA[To find other hearing devices that aren’t supported by LE Audio, tap <b>Pair new device</b> > <b>See more devices</b>]]></string>
|
||||
<!-- Content description for text in accessibility hearing aids footer to be announce. This string is for device that only supports LE Audio hearing aids. Replace '>' to 'then' compare to non tts version. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_hearing_device_footer_hap_only_summary_tts">To find other hearing devices that aren’t supported by LE Audio, tap <b>Pair new device</b> then <b>See more devices</b></string>
|
||||
<!-- Title for the pair hearing device page. [CHAR LIMIT=25] -->
|
||||
<string name="accessibility_hearing_device_pairing_page_title">Pair hearing device</string>
|
||||
<!-- Subtitle for the pair hearing device page. [CHAR LIMIT=NONE] -->
|
||||
|
||||
@@ -20,8 +20,10 @@
|
||||
android:title="@string/accessibility_hearingaid_title">
|
||||
|
||||
<com.android.settingslib.widget.TopIntroPreference
|
||||
android:key="hearing_device_intro"
|
||||
android:title="@string/accessibility_hearingaid_intro"
|
||||
settings:searchable="false" />
|
||||
settings:searchable="false"
|
||||
settings:controller="com.android.settings.accessibility.HearingDeviceIntroPreferenceController"/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="available_hearing_devices"
|
||||
|
||||
Reference in New Issue
Block a user